I tried but it kept giving me an access violation error.
In c++ you would do
BYTE *texture = new BYTE[datasize+headersize];
BYTE *unpackedtexture = new BYTE[unpackeddatasize+unpackedheadersize];
texture is then loaded from the file and sent to be uncompressed.
lzo1x_decompress(texture...
Yea thats the only thing I found that was helpfull, It seems he hasn't built a delphi version yet. Oh well I will just give up. I spent to much time already translating the original app to delphi, I cant translate another library just to get the app to work.
Thanks so much for your replys!
jimk
I have been looking all over for any info on using this with delphi. I am translating a c++ app to delphi and they use lzo compression to load and save textures and I can't seem to find a delphi version anywhere? I have found minilzo.obj but has NO information or examples on how to use it, and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.