Framework/Import :Am I missing something?

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

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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?