Red Gate forums :: View topic - Program commit suicide when exiting callBack
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
PInvoke.Net
PInvoke.Net forum

Program commit suicide when exiting callBack

Search in PInvoke.Net forum
Post new topic   Reply to topic
Jump to:  
Author Message
shaCo



Joined: 02 Sep 2007
Posts: 1
Location: israel

PostPosted: Sun Sep 02, 2007 10:53 pm    Post subject: Program commit suicide when exiting callBack Reply with quote

im calling an extern method from a dll written in c (i think) .
the method is supposed to get a callBack function , so im sending it a delegete.
the method is working fine, and my callback is called ok, but when it reaches the ending block of the callback i get an error message like this :
0xC0000005: Access violation reading location 0x00000000.

the callBack has a return type of uint32 which is always 0 .
(i dont know if its releated because the error comes after the 'return' command)

which hammer should i buy to get it working? Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group