Compile capi 8 samples w Visual Studio 2005

I’m trying to compile the CAPI 8 sample mail\extmail.c and misc\extmngr using Visual Studio 2005 to create a DLL to be used as server Extension Manager. Both sample hang the server with a Panic Handle non valid. I can printf from DllMain().

I think there is something bad in creating the project.

May you help with a trace about creating the project for build DLL for extension manager?

Notes 8.0.2, Domino 8.0.1

Visual Studio 2005.

Thank you very much