Restored from previous forum. Originally posted by Franco. Hi Mr.Skunk,
yes I would appreciate a FreeDLL command. So the programmer can avoid to use a bunch of memory (sometimes some DLL's have a horrendous amount of size)
If you are looking for a free JPEG-DLL thake a look to:
http://heliso.tripod.com/goto -> Programming -> JPEG Programming you will find what you need.
But what I said before, some DLL's are very big, this one 1.5MB!!!
I found also a possibility to use the Windows OLEAUT32.DLL so you don't have to use external DLL's. While PureBasic has a OLEAUT32 library, I suppose it can be done under PureBasic.
I have freeware sourcecode in BCX-Basic (a mixture of Basic and C) that I can send to you if you want, so you can look how to handle this stuff.
The exe file with this code is only 7200 bytes!
You can load BMP, GIF, JPG, WMF, EMF, & ICO.
Have a nice day...
Franco