Re: [Harbour] MINGW - Dll to Lib - Command Syntax

2009-11-05 Thread Pritpal Bedi
Hi Przemek Przemysław Czerpak wrote: > > If you have harbour.dll then you can link it with your application > by adding two parameters: >-L -lharbour > MinGW linker can take any DLL and create import library on the fly. > It has also some extensions, i.e. if DLL does not contain any exporte

Re: [Harbour] MINGW - Dll to Lib - Command Syntax

2009-11-05 Thread Przemysław Czerpak
On Thu, 05 Nov 2009, Pritpal Bedi wrote: Hi > > You don't need it though, since you can pass plain > > dlls to mingw linker. > This seems ok. > Can you show me the syntax what I must > insert into vouch.hbm ? If you have harbour.dll then you can link it with your application by adding two param

Re: [Harbour] MINGW - Dll to Lib - Command Syntax

2009-11-05 Thread Viktor Szakáts
Viktor Szakáts wrote: You don't need it though, since you can pass plain dlls to mingw linker. This seems ok. Can you show me the syntax what I must insert into vouch.hbm ? I could only guess, since I never had to use it, probably -lsomething.dll. If you cannot push it through the hbmk2 fi

Re: [Harbour] MINGW - Dll to Lib - Command Syntax

2009-11-05 Thread Pritpal Bedi
Hi Viktor Szakáts wrote: > > You don't need it though, since you can pass plain > dlls to mingw linker. > This seems ok. Can you show me the syntax what I must insert into vouch.hbm ? Regards Pritpal Bedi -- View this message in context: http://old.nabble.com/MINGW---Dll-to-Lib---Command

Re: [Harbour] MINGW - Dll to Lib - Command Syntax

2009-11-05 Thread Viktor Szakáts
Can someone enlighten me how can I extract a static linkable lib from a .dll with MINGW? There is no way to create a statically linkable lib from any dll on Windows. (well, there is one tool, but it doesn't work and it a complete hack) If you want to create implibs from .dlls for mingw, the roa

Re: [Harbour] MINGW - Dll to Lib - Command Syntax

2009-11-05 Thread Massimo Belgrano
Hi Pritpal I post here my incomplete info dlltool can do the equivalent of IMPLIB., but is limited and buggly. same situation like ads is sufficent copy .a in lib the above method does not work with __stdcall functions. For MSVC will prefix an underscore to __stdcall functions while MinGW will not.

[Harbour] MINGW - Dll to Lib - Command Syntax

2009-11-05 Thread Pritpal Bedi
Hello Can someone enlighten me how can I extract a static linkable lib from a .dll with MINGW? This should be equivalent to "implib" utility of BCC. Regards Pritpal Bedi -- View this message in context: http://old.nabble.com/MINGW---Dll-to-Lib---Command-Syntax-tp26221154p26221154.html Sent f