VolkerStamme
Programmer
Hi,
I'm currently experiencing a problem with the COM events interface. The server is written in C# and the client in VFP using the EventHandler() function. Works fine, no problem. The problem is that after I've used EventHandler() (whether that event ever happened or not) VFP will crash on exiting. I.e. so far the application WOULD run fine and do everything it's supposed to do but as soon as I quit VFP I run into a C005. If I don't use EventHandler() and just deal with the other elements of the server it's fine. I've tested the OLEDB example in the help files, runs fine. I've also tested the .Net server with a C++ client and a VB6 client - fine. It seems to be that one constellation, COM server in .net and client in VFP, that doesn't work properly. Tested with VFP 8 and 9. Any ideas?
I'm currently experiencing a problem with the COM events interface. The server is written in C# and the client in VFP using the EventHandler() function. Works fine, no problem. The problem is that after I've used EventHandler() (whether that event ever happened or not) VFP will crash on exiting. I.e. so far the application WOULD run fine and do everything it's supposed to do but as soon as I quit VFP I run into a C005. If I don't use EventHandler() and just deal with the other elements of the server it's fine. I've tested the OLEDB example in the help files, runs fine. I've also tested the .Net server with a C++ client and a VB6 client - fine. It seems to be that one constellation, COM server in .net and client in VFP, that doesn't work properly. Tested with VFP 8 and 9. Any ideas?