Handling a VB6 event in C# - why does it only work sometimes? -
I have a VB6 application that has been implemented as an ActiveX exe. I have C # apps that interact with the VB 6 app via COM All this works well except for a scenario. If the VB6 app has been removed from the C # app, everything is fine. If, however, the VB6 app is already running alone, even when the COM interface still works, then C # event handlers never fire. A (very simplified) removal code, Name & amp; GUIDs have been changed to protect the innocent. (Partial) IDL generated from written VB6 exe: ... [uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx), version (1.10), epobject] colacel mache {{default } _myApp interface; [Default, source] dispenser __myApp; }; ... [Yyyudyaya (Yayyyyyya-Yaya-Yaya-Yyyyyyyyyya), version (1.10), hidden, disliked] Dispersface __myApp {properties: methods: ... [id (0x00000005)] zero myEvent (); ...}; ... C # app: public class myAppInterface: IDisposable, ImyAppEvents {public representative zero myEventDelegate (); Public eve...