COM client must recompile when server compiled?
-
Hi, I made a COM-client in C++ which uses the import directive and
_COM_SMARTPTR_TYPEDEF(Iclogmanager, __uuidof(Iclogmanager));
to access the methods of the COM-Server via a smart pointer. Iclogmanager is a dispinterface and the COM-Object which implements it is a Visual-Fox-Pro COM-Server. Its image is in an exe-file and it runs as a separate process on an other machine. I was surprised to see, that the client crashed, after I released a new version of the server, although I did not even add additional methods. It was just a line of additional code I added within a method. To be exact, it crashed atHRESULT _hr = raw_doQuery(tcFilterMethode, toCollParameters, &_result);
After recompilation it worked fine again. This is absolutely not consistent with my idea of COM. Any idea? Thanks an best regards Werner