I am making a C# DLL plugin for a EXE written in V开发者_Go百科B6. I do not have access to the source of the EXE. The DLL itself works and communicates fine with the EXE.
I have a COM class CMyCOMServer implementing IMyInterface in one application, both with correct GUIDs. CMyCOMServer::QueryInterface will return S_OK (and cast itself to the right type) if IUnknown or
C# namespace TestController { [ComVisible(true)] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IController {
Whenever I put my component into COM+ and call CoCreateInstance() on the client the fol开发者_如何学Pythonlowing happens:
This MSDN article states that any ProgID must meet several formal requirements, length restriction included. However nothing is said about what happens 开发者_运维百科if those are violated.
I have read th开发者_Python百科at the following code causes memory leak. But did not understand why.
I want to add a method accepting IStream* to my COM interface. Here\'s the idl excerpt: import \"oaidl.idl\";
I am trying to call a method I have written in C# from VBScript. I have followed just about all of the instructions I can find on the web and am still having problems.
I\'m trying to get some information from an msi file I used: Type installerType = Type.GetTypeFromProgID(\"WindowsInstaller.Installer\");
What is the correct syntax for instantiating a COM object in Delphi Prism using COM interop - new does not seem to do the job.