|
From: <dan...@ya...> - 2002-03-22 10:02:00
|
--- Cloudy Zheng <je...@so...> wrote: > Hi > I'm writting a DLL, and I would to do something while the dll loaded. I > declare the DllMain as extern "C" BOOL APIENTRY DllMain( HANDLE hModule, ^^^^^^^^^^ > DWORD reason, > LPVOID lpReserved ) > > Compiled with g++ and then run > > dllwrap --entry DllMain $(OBJS) > But it saids cannot found 'DllMain', but > > dllwrap --entry _DllMain__FPvUlT0@12 > works. > So I conclude, the dllwrap does not know the C++ name transform, does it? no > -- > Cloudy Zheng <je...@so...> http://movies.yahoo.com.au - Yahoo! Movies - Vote for your nominees in our online Oscars pool. |