Question and Answer Database FAQ2656C.txt DllEntryPoint not called Category :Windows API Platform :All Product :BC++ 5.x Question: I am porting an application from 16bit to 32bit and my dll entrypoint is no longer getting called, what migth be the problem. Answer: The mose common cause of this is not changing the function prototype over to the 32bit version. It does not give you a compiler error because the linker finds the one in cw32mt.lib and resolves to that one. The correct prototype is: BOOL WINAPI DllEntryPoint(HINSTANCE, DWORD, LPVOID); There is an example dlldemo with bc5 in the Examples\Windows\Dlldemo directory with both the 16 and 32 bit versions. 7/2/98 10:32:32 AM
Last Modified: 01-SEP-99