Atl Dll events stop in VB IDE after error triggered
Atl Dll events stop in VB IDE after error triggered
Author
Message
R.Marti #1 / 1
Atl Dll events stop in VB IDE after error triggered
I have an Atl Com Dll set up as STA with a second thread that posts messages to the main object of the Dll (this has a hidden Atlwin window) that handles the messages (with msg map defined). The main object then fires events (set up as dispinterface) at the appropriate time. I have a VB client program that runs correctly as a compiled exe, and the events trigger fine. When the client is running inside the VB Ide after a few error object operations (with the OnError goto code in vb app to a msgbox), the events stop. The client will still continue to respond to keyboard and mouse events, just not mine. Help? Rob