com

Registration free COM: VB6 Executable referencing VB6 DLL

你离开我真会死。 提交于 2021-02-07 20:48:31
问题 So, I've got a single VB6 executable that references multiple VB6 COM DLLs. Is it possible for me to generate, on-the-fly, a manifest for the executable as well as a manifest for each of the referenced DLLs? If so, then how? I would like to perform this operation as part of our build process without having to register the COM DLLs as part of the process. NOTE: All the reg-free COM examples that I've found so far involve .NET interop, which is not a requirement for what I'm doing. [EDIT] After

How to use COM from python win32com or comtypes to access an IRTDServer?

萝らか妹 提交于 2021-02-07 20:10:29
问题 Environment Windows 10 + python 3.6.3 64 bit (also tried 32 bit). I am a python developer trying to use COM for (nearly) the first time and hit this huge blocker. Problem I have had various errors when trying to use an IRTDServer implemented in a dll (not written by me), via either win32com or comtypes . Using win32com turned out to be more difficult. I have an included an example unittest for both libraries below. Accessing the server from Excel 2016 works as expected; this returns the

How to use COM from python win32com or comtypes to access an IRTDServer?

情到浓时终转凉″ 提交于 2021-02-07 20:00:44
问题 Environment Windows 10 + python 3.6.3 64 bit (also tried 32 bit). I am a python developer trying to use COM for (nearly) the first time and hit this huge blocker. Problem I have had various errors when trying to use an IRTDServer implemented in a dll (not written by me), via either win32com or comtypes . Using win32com turned out to be more difficult. I have an included an example unittest for both libraries below. Accessing the server from Excel 2016 works as expected; this returns the

CoInitializeSecurity throws RPC_E_TOO_LATE in Visual Studio 2017

◇◆丶佛笑我妖孽 提交于 2021-02-07 19:43:35
问题 I'm trying to run an application making a call to CoInitializeSecurity at startup. This works in Visual Studio 2013, but does not work in Visual Studio 2017 - and I'm curious to why this is. When calling CoInitializeSecurity at startup in Visual Studio 2017 I get a COMException with the error code RPC_E_TOO_LATE (0x80010119) which indicates a call has already been made to CoInitialize , this does not happen in Visual Studio 2013. I have seen this behaviour before in Visual Studio 2013 when

Why would the PIDL for the control panel be different?

拟墨画扇 提交于 2021-02-07 14:55:28
问题 I see that one should do this to compare PIDLs: IShellFolder::CompareIDs(). In particular, I'm trying to detect if a given absolute PIDL (or relative) is that of the Control Panel. However, in practice I end up with two PIDLs which IShellFolder::CompareIDs() claims are not equal, when they should be (looking at the GetDisplayName() for each, I can see that we're indeed looking at the Control Panel). Basically, I'm obtaining the absolute PIDL for the Control panel by: PIDL iidControlPanel =

Why would the PIDL for the control panel be different?

亡梦爱人 提交于 2021-02-07 14:55:23
问题 I see that one should do this to compare PIDLs: IShellFolder::CompareIDs(). In particular, I'm trying to detect if a given absolute PIDL (or relative) is that of the Control Panel. However, in practice I end up with two PIDLs which IShellFolder::CompareIDs() claims are not equal, when they should be (looking at the GetDisplayName() for each, I can see that we're indeed looking at the Control Panel). Basically, I'm obtaining the absolute PIDL for the Control panel by: PIDL iidControlPanel =

Difference between COM and DCOM?

依然范特西╮ 提交于 2021-02-07 13:46:45
问题 What is the difference between COM and DCOM ? 回答1: DCOM stands for "Distributed COM". That means the client and server can be on different machines communicating across the network, instead of both being on the same machine as in conventional COM. 回答2: DCOM=Distributed Component Object Model, you might call it COM via RPC. DCOM – Wikipedia 回答3: COM stands for Component Object Model . DCOM stands for Distributed Component Object Model . COM is set of component tools which are executed client

Difference between COM and DCOM?

偶尔善良 提交于 2021-02-07 13:45:08
问题 What is the difference between COM and DCOM ? 回答1: DCOM stands for "Distributed COM". That means the client and server can be on different machines communicating across the network, instead of both being on the same machine as in conventional COM. 回答2: DCOM=Distributed Component Object Model, you might call it COM via RPC. DCOM – Wikipedia 回答3: COM stands for Component Object Model . DCOM stands for Distributed Component Object Model . COM is set of component tools which are executed client

Does LibreOffice/OpenOffice Support the COM Model

♀尐吖头ヾ 提交于 2021-02-07 10:14:36
问题 Does LibreOffice/OpenOffice Support the COM Model (Component Object Model)? 回答1: Not directly. The creators of OpenOffice/LibreOffice invented their own component framework which is called UNO. From the limited insights into this framework (quite crappy documentation, but the official COM documentation is also crap [save Don Box'es book, but that is Addison Wesley]), it seems to me as if UNO is quite a match to COM (no fixed ABI, so that components from the same environment can talk to each

Does LibreOffice/OpenOffice Support the COM Model

佐手、 提交于 2021-02-07 10:13:07
问题 Does LibreOffice/OpenOffice Support the COM Model (Component Object Model)? 回答1: Not directly. The creators of OpenOffice/LibreOffice invented their own component framework which is called UNO. From the limited insights into this framework (quite crappy documentation, but the official COM documentation is also crap [save Don Box'es book, but that is Addison Wesley]), it seems to me as if UNO is quite a match to COM (no fixed ABI, so that components from the same environment can talk to each