DLL - Firing an event - Exception
-
Hi All, I am building a com dll using vs2005. I have created two events. I have created a client application in VB and built an exe. When I run my application in debug mode, I get an exception in fire events dispatch method, which states "unhandled exception at 0x661068 second.exe: 0xc00000005. Access violation writing location 0x0000050." In the above error the "second.exe" is the exe name of my vb application. But when I run the application in vb I get the events is getting fired, some time the application gets crashed. When I put a break point in the fire_event method the application crashes for sure when an event gets fired for the first time. can any one help in this. And I have another query, does the vc++ through an error like the one I have stated above when we debug the application that contains a breakpoint? Kindly clarify! Regards, LG.
lgatcodeproject
-
Hi All, I am building a com dll using vs2005. I have created two events. I have created a client application in VB and built an exe. When I run my application in debug mode, I get an exception in fire events dispatch method, which states "unhandled exception at 0x661068 second.exe: 0xc00000005. Access violation writing location 0x0000050." In the above error the "second.exe" is the exe name of my vb application. But when I run the application in vb I get the events is getting fired, some time the application gets crashed. When I put a break point in the fire_event method the application crashes for sure when an event gets fired for the first time. can any one help in this. And I have another query, does the vc++ through an error like the one I have stated above when we debug the application that contains a breakpoint? Kindly clarify! Regards, LG.
lgatcodeproject