01-07-2005, 03:39 AM
1) it can't be a dll, must be an import library (.lib), and you pass just the "zlib1" name, w/o the "lib" at beginning and any extension (GNU linker stuff). Creating an import library by hand isn't simple, you have to create the .def file using pexports.exe (not included, part of Mingw32) and the dlltool.exe -- if the lib has a .lib import, rename it to .a.dll and copy to fb's lib dir
2) i guess you are calling the proc as "proc orgbuffer", w/o indexes, new version won't allow that.. with .09 you can do for example orgbuffer = orgbuffer + 1, what will fail if orgbuffer is a dynamic array (will fail with that fake message)
2) i guess you are calling the proc as "proc orgbuffer", w/o indexes, new version won't allow that.. with .09 you can do for example orgbuffer = orgbuffer + 1, what will fail if orgbuffer is a dynamic array (will fail with that fake message)
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php