Excel events inside a DLL
-
I've a question about this example: It opens excel and inserts an eventsink to catch the events inside excel. HOWTO: Catch Microsoft Excel Application Events Using VC++ Q186427 http://support.microsoft.com/default.aspx?scid=kb;en-us;Q186427 I've tried this example using an MFC-EXE, and all works fine. When you press start, the excel application shows up. Clicking with the mouse results in a event messagebox. But, if you want to include this functionality inside an MFC-DLL, it will not work. Excel shows up alright, but when you click something or press a button, the excel application will block. After a while a messagebox shows up saying: "Microsoft Excel is waiting for another application to complete an OLE action." Short: using a .exe works fine, but the .dll blocks. Why? What's the difference here? (I've used MFC in both cases)
[VISUAL STUDIO 6.0] [MFC] [WIN98/2]
X| Bluute tette! X|
-
I've a question about this example: It opens excel and inserts an eventsink to catch the events inside excel. HOWTO: Catch Microsoft Excel Application Events Using VC++ Q186427 http://support.microsoft.com/default.aspx?scid=kb;en-us;Q186427 I've tried this example using an MFC-EXE, and all works fine. When you press start, the excel application shows up. Clicking with the mouse results in a event messagebox. But, if you want to include this functionality inside an MFC-DLL, it will not work. Excel shows up alright, but when you click something or press a button, the excel application will block. After a while a messagebox shows up saying: "Microsoft Excel is waiting for another application to complete an OLE action." Short: using a .exe works fine, but the .dll blocks. Why? What's the difference here? (I've used MFC in both cases)
[VISUAL STUDIO 6.0] [MFC] [WIN98/2]
X| Bluute tette! X|