Archived

This topic is now archived and is closed to further replies.

paynechu

Error in compile a ATL COM with DirectX project

Recommended Posts

Pls help, I don''t known why I compile a ATL COM with DirectX project that always display some error below. Can anyone help me? But haven''t any problem for using Debug mode to compile. Why? --------------------Configuration: GameObjectCOM - Win32 Release MinSize-------------------- Linking... LIBCMT.lib(fpinit.obj) : error LNK2005: __fltused already defined in StdAfx.obj LIBCMT.lib(fpinit.obj) : warning LNK4006: __fltused already defined in StdAfx.obj; second definition ignored Creating library ReleaseMinSize/GameObjectCOM.lib and object ReleaseMinSize/GameObjectCOM.exp LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main ReleaseMinSize/GameObjectCOM.dll : fatal error LNK1120: 1 unresolved externals Error executing link.exe. GameObjectCOM.dll - 3 error(s), 1 warning(s)

Share this post


Link to post
Share on other sites