On Sat, 15 May 1999, Ade Barkah wrote:
>
> At 07:13 PM 5/15/99 +0200, you wrote:
> ...
> >  and when i use this data, use the:
> >
> >    myGlobalVar = (MyStructPtr)MemHandleLock(myGlobalHandle)..
> >    MemHandleFree(myGlobalVar);
> 
> >From the above, it looks like you're freeing a chunk of memory
> that is still locked. You should unlock this memory first, then
> free it.

  i dont use this yet :) right now i have all my data statically
  linked in the program.

  i was suggesting how i would go about being dynamic :)

  i am using gcc, and i think it might be a callback problem
  acessing global variables.

  does anyone know the strict rules of using GCC_PROLOGUE 
  and GCC_EPILOGUE?

  i am using them in my callbacks (eventhandlers) but not
  inside methods that the callbacks call.. would this be a
  problem? 

  what is the true definition of "FATAL EXCEPTION" - it 
  sounds like there is a Micro$oft person working on the
  design.. great error message.. just like "general
  protection fault".

  cheers. :P

az. 
--
Aaron Ardiri 
Lecturer                       http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 352 8192           A/H: +46 26 10 16 11


Reply via email to