I have implementet the following entry point in my code:
(it seems like i have 2 more entry points which i really don't know about
them)
HINSTANCE ghInstance;
extern "C"
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID
/*lpReserved*/)
{
ghInstance = hInstance;
return TRUE;
}
Could you please advise?
Thanks in advance,
Guy.
BOOL
WINAPI
DllMain (
HANDLE hinstDLL,
DWORD dwReason,
LPVOID lpvReserved
);
Your declaration should match this (with the addition of extern "C", of
course).
Paul T.
"GuyS" <u47509@uwe> wrote in message news:8d088655c5a30@uwe...
BOOL WINAPI DllMain( HANDLE hInstDll, DWORD fdwReason, LPVOID lpvReserved)
Change the prototype in your code
--
Luca Calligaris
l.calliga...@eurotech.it.nospam
www.eurotech.it
"GuyS" <u47509@uwe> ha scritto nel messaggio news:8d088655c5a30@uwe...
Luca Calligaris wrote:
>you have the error beacuse the CE C runtime DllMain is
>
>BOOL WINAPI DllMain( HANDLE hInstDll, DWORD fdwReason, LPVOID lpvReserved)
>
>Change the prototype in your code
>
>> Hi,
>> I realy need your help....
>[quoted text clipped - 21 lines]
>> Thanks in advance,
>> Guy.
--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-programming/200811/1
--
Luca Calligaris
l.calliga...@eurotech.it.nospam
www.eurotech.it
"GuyS via PocketPCJunkies.com" <u47509@uwe> ha scritto nel messaggio
news:8d10a542ac96f@uwe...