|
From: Mattia B. <mb...@ds...> - 2000-12-19 20:08:10
|
> --- Mattia Barbon <mb...@ds...> wrote: > Hello, > > I am writing a Perl module, and I need to get the dll > > HMODULE, but my DllMain isn't called. I am using > This is the way I would do it: > > g++ -shared -o blib\arch\auto\Wx\Wx.dll -Wl,--out-implib,libWx.dll.a \ > -Wl,--image-base,0x3b140000 Wx.def Wx.o > > Note where Wx.def goes on the command line. DllMain is not called neither with your method nor with --------------------------------------------------- dllwrap --export-all --driver-name c++ -o blib\arch\auto\Wx\Wx.dll Wx.o --------------------------------------------------- BTW I don't need the import library, since the dll is loaded dinamically Thanks Mattia |