Have you tried to check if your handles are the same in both places?
Just to make sure that it's not a stack problem, try allocating and then freeing the "mystruct" data instead.
--
Mats
Have you tried to check if your handles are the same in both places?
Just to make sure that it's not a stack problem, try allocating and then freeing the "mystruct" data instead.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.