01-07-2005, 03:12 AM
Two problems:
1) I keep getting the error
I stuck this file (zlib1.dll) in c:/winnt/system32, in /freebasic/bin/, in the /freebasic/, in the friggen source dir and it still happens.
2) More fake problems. It seems the fb doesn't like declaring arrays using variables containing the upper (and/or lower?) bounds.
This line fails:With the following error:
This happens whether orgbuffer is predeclared (dim orgbuffer() as byte) or not.
1) I keep getting the error
Code:
E:\freeBASIC\bin\ld.exe: cannot find -lzlib1.dll
I stuck this file (zlib1.dll) in c:/winnt/system32, in /freebasic/bin/, in the /freebasic/, in the friggen source dir and it still happens.
2) More fake problems. It seems the fb doesn't like declaring arrays using variables containing the upper (and/or lower?) bounds.
This line fails:
Code:
redim orgbuffer(0 to orglen) as byte
Code:
examples\zlibtest.o(.text+0xcc):fake: undefined reference to `ORGBUFFER'
This happens whether orgbuffer is predeclared (dim orgbuffer() as byte) or not.
Life is like a box of chocolates', hrm, WTF, no it isn't, more like, 'life is like a steaming pile of horse crap.'