Framework/Import :Am I missing something?

BlitzMax Forums/BlitzMax Programming/Framework/Import :Am I missing something?

Mark1nc(Posted 2005) [#1]
Framework BRL.blitz
Import BRL.GLMax2D
Import BRL.PNGLoader
Const  width=800
Const  height=600
Graphics width,height,0 '32
Incbin "spark.png"

Global sparki:TImage=LoadImage("incbin::spark.png")


When I run the above code, it fails to open up a stream to read the image file.
I trace into it to line 666 in streams.bmx
Local factory:TStreamFactory=stream_factories

stream_factories is Null an so no Stream to read from.

This works fine without framework/import.

What am I missing in my Import list?
Or is something broken in Stream.bmx?


tonyg(Posted 2005) [#2]
It works on my BlitzMax 1.09


EOF(Posted 2005) [#3]
Fails for me unless I add:

Import BRL.RamStream


Mark1nc(Posted 2005) [#4]
thanks. Adding BRL.RamStream solved it for me too.


Perturbatio(Posted 2005) [#5]
you could probably help reduce future problems like this with the Framework assistant thingy:
http://www.blitzbasic.com/Community/posts.php?topic=47141