Page 1 of 1

a simple application but a ATL link error !

PostPosted: Apr 5, 2007 @ 3:18am
by kevinlynx
i can build the sample in PocketFrog for my Pocket PC emulator . But when i create a new project , i wrote some simple code , but i got a link error :

error LNK2001: unresolved external symbol "class ATL::CComModule _Module"

It seems i should link some ATL libraray ? ...
I need your help .Thanks in advance !

PostPosted: Apr 5, 2007 @ 4:01am
by kevinlynx
i'm sorry . i made a very very silly mistake .
In my source file i defined a global variable :
CComModule g_module; but i 'm wrong . I must define CComModule _Module ; because Game.h decalre : extern CComModule _Module;

By the way, how to hide the PocketHAL logo in my PocketFrog game ? ( if the logo appears at the beginning of my game , it will be fine . )