Has anyone tried this? Would it work for use with PB?
http://www.binary-soft.com/dll2lib/dll2lib.htm
DLL 2 lib
DLL 2 lib
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
- flaith
- Enthusiast
- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
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)

“Fear is a reaction. Courage is a decision.” - WC
DLL2LIB
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)
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)
Re: DLL2LIB
In the actual version of UDRes is LoadLibraryM not required. You can directH.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)
access to DLL functions.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
