digitalmars.D.learn - The new import expression
- Olli Aalto <odeamus dystopia.fi> Feb 13 2007
- Olli Aalto <odeamus dystopia.fi> Feb 13 2007
Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi! 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? Thanks, Olli
Feb 13 2007
Disregard what I wrote. I'm obviously too tired. O.
Feb 13 2007








Olli Aalto <odeamus dystopia.fi>