Problems with extmgr when compiled with VS2005

I having issues with my extmgr callback when compiled with VS2005. In particular the pExRecord->App variable appears to be an invalid pointer and causes a crash when calling VARARG_GET(ap, HANDLE).

This also happens when compiling the example from the latest SDK . Does anyone have an idea for a workaround?

Subject: Problems with extmgr when compiled with VS2005

I have no idea but did you verify correct calling convention