digitalmars.D.learn - The new import expression
- Olli Aalto (11/11) Feb 13 2007 Hi!
- Olli Aalto (2/2) Feb 13 2007 Disregard what I wrote. I'm obviously too tired.
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