Another IncBin problem

BlitzMax Forums/BlitzMax Programming/Another IncBin problem

Hey peeps!

Ive got another problem.

this works:
incbin "file.dat"
...


but this doesnt
framework brl.glmax2d
Import brl.blitz
Import brl.random
Import brl.pngloader
incbin "file.dat"


Ive tried with and withour the brl.blitz import but it still just throws up a memory exception error.

If i remove all framework and import commands, it works..

So, What do i need to import for incbin to work!?


Cheers

i found that it required:

Import brl.ramstream


In order to work properly. Is that normal?

That seems to work fine here. Does it fail with just that code, or when you actually try to use the incbin'd file?

it fails when i try to use the file in a loadimage command.

it worked as soon as i included the brl.ramstream module though. im not too bothered now but is it likely a bug of some sort?