Game Development Community

"Use of MFC" to "in a shared dll" not liked by FPS Genre Kit DLL

by Ian Omroth Hardingham · in Torque 3D Professional · 07/06/2009 (10:06 am) · 1 replies

Hey guys,

I have a dll I'm trying to merge into the FPS Genre Kit DLL in beta3 in order to have both Torque and other functionality in one dll. When I change the "Use of MFC" option to "Use MFC in a shared dll" in Visual Studio 2005 compiling errors happen - a load of linking errors in fact.

Does anyone have any idea what the problem might be?

Thanks,
Ian

#1
07/07/2009 (5:27 pm)

Looks to me like it may be a conflict the runtime libraries used in the application. The above switch probably sets LIBCMT to multi-threaded DLL and that likely conflicts with the setting of another project being linked against.