Page 1 of 1

DLL 2 lib

Posted: Sun Oct 22, 2006 10:18 pm
by GeoTrail
Has anyone tried this? Would it work for use with PB?
http://www.binary-soft.com/dll2lib/dll2lib.htm

Posted: Sun Oct 22, 2006 10:54 pm
by flaith
nope, and have you tried that way : (must have mingw32 installed)

Code: Select all

pexports yourdll.dll > yourdll.def
dlltool -d yourdll.def -l libyourdll.a (or .lib)
:)

Posted: Sun Oct 22, 2006 11:29 pm
by KarLKoX
dlltool produce an import lib, the dll is still needed where dll2lib create real static lib. (no implicit linking)

Posted: Mon Oct 23, 2006 9:41 am
by JCV
yup I tried it before it works. You need to use LibraryMaker to create a wrapper for PB to use. :)

DLL2LIB

Posted: Mon Oct 23, 2006 5:17 pm
by H.Brill
NEdit at pureArea.net is such a lib (converted
from a freeware dll).
i think, in most cases it will work. with another dll
i have got errors and the .lib is many bigger as the
dll. (dll = 85 KB, the generated lib = ~300 - 400KB).

a better way is to bind the dll with the UdRes - lib and load
it with the PBOSL - lib
address = LoadLibraryM(MemoryPointer.l)

Posted: Mon Oct 23, 2006 5:42 pm
by GeoTrail
Ok, thanks for your feedback guys.
Besides, $399 is a lot of money.

Re: DLL2LIB

Posted: Mon Oct 23, 2006 7:18 pm
by ts-soft
H.Brill wrote: a better way is to bind the dll with the UdRes - lib and load
it with the PBOSL - lib
address = LoadLibraryM(MemoryPointer.l)
In the actual version of UDRes is LoadLibraryM not required. You can direct
access to DLL functions.

Posted: Tue Oct 24, 2006 11:19 am
by thamarok
GeoTrail wrote:Ok, thanks for your feedback guys.
Besides, $399 is a lot of money.
It's not worth the money.
I tried that application and 6 of 10 libraries actually worked without problems.