I want to catch th开发者_如何学运维e NewCivicAddressReport event which means I need to implement the event handler. Can anyone explain why the VBScript code embedded in html page works but the VBS fil
this is my first SO question! I would like to instantiate a COM object and cast it to IDispatchEx so that I can enumerate its members. Here is an example:
When I click on an ESRI COM toolbar item, it spawns a window - it looks like a Winform.Since I didn\'t spawn the window directly, I can\'t just do an Object.Close() on it.What technique can I use to d
I really don\'t want to, but I have to emulate COM logic in my program and I\'m using standard COM_ADDREF macros, but I keep getting the following error: invalid conversion from \'void ()(MyObject, bo
I am trying to write a tool to automatically install a binary. Basically, I use comtypes and MSAA interface to interact with the installation windows and drive the installation procedure. When a windo
When an in-proc COM server is registered there usually should be a ThreadingModel value under HKCR\\CLSID\\ClassId\\InprocServer32 that controls how the class obje开发者_开发问答ct should be used in a
I have an issue that ive been batteling with for a day or so now and im wondering if anyone might be able to help:
I have an rather odd problem with Visual Studio once more. I have a library which depends on one COM-Library. Out of the blue the COM-Library depending on MDAC 2.7 suddenly1 produced this Compile-Erro
If I have a COM开发者_开发技巧 object, is it required for the AddRef() and Release() methods to be thread-safe- i.e., that I have to use atomic operations for my ref count?Yes, if you are using the fr
I am building a library which needs to be referenced from VBA so I need to provide a type library to support early binding. Most of the examples I have seen define a interface for classes which are ex