Jump to content
Posted 18 June 2001 - 12:46 PM
Posted 18 June 2001 - 01:18 PM
Original post by chrisbk
I have a problem with my DLL . let me explain it :
In the .exe code I have the following :
FILE *in = fopen(...);
Where btm is an object created by the DLL (this also mean that the ''load'' function is located inside the DLL).
In the load function I have something that looks like :
And this crash (Access violation) on the fread. (in != null)
It also crash if I do fseek/fclose/whatever.
I really don''t know what is happening (and that''s annoying me..)
Anyone knows what cause this crash ?
Posted 18 June 2001 - 02:29 PM
Posted 18 June 2001 - 02:36 PM
You would be passing a pointer to a pointer by doing &header.
Posted 18 June 2001 - 06:01 PM
Posted 18 June 2001 - 11:35 PM