For anyone who may stumble upon this... A colleague of mine actually fixed this to work. Apparently, he simply added the .def file to export all of the various TraceSQL* routines. In addition to that, he had to include the FireVSDebugEvent and TraceVSControl routines to the .def file. Looking at his source, and mine, I guess mine wasn't working because I had __declspec(_stdcall) (or something like that...I'm not 100% sure yet). In short: the source code from MS seems to work once you add the .def file. Hope this Helps, F.O.R. PS: Props to my colleague, and to Brannon, who sent some helpful hints as well!