The new import expression
odeamus at dystopia.fi
Tue Feb 13 12:30:50 PST 2007
I started experimenting with the new import feature in 1.005. I thought
to test if I could get a simple compile time resource loading scheme
going for a small game, but I'm getting access violations when using the
data block returned by the import.
I'll attach the module I wrote to test this. It uses derelict for SDL.
The access violation happens on the line containing the call to IMG_Load_RW.
Am I doing it wrong or does SDL have a problem with this? Or is this
something that's not even supposted to work yet?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Digitalmars-d-learn