com Questions

2

Solved

Windows allows use of a COM object without having to register the COM dll. The mechanism is to include a "dependent assembly" in the application's manifest: MyProgram.exe.manifest <?xml ver...
Laboured asked 6/2, 2012 at 15:48

1

Hi have a vb6 project "PROJVB6" with a class "CLASSVB6" with this content: ... Public Type ActualParametersType_DOCUMENTI Codice As Variant Numreg As Variant End Type ... Private Gvar_ActualPar...
Thoroughbred asked 12/10, 2016 at 8:8

2

Solved

I have all MFC stuff installed foe my VS-2019 Porfessional. I miss the Add New Item "MFC Class From Tyspelib" used in former version to create a simple IDispatch wrapper. I checked everything and...
Delilahdelimit asked 1/7, 2019 at 13:1

1

I have developing a new WMI instance provider and I am having a bit of trouble. I am able to register my provider successfully using regsvr32.exe. The regsvr32 application calls my implementation o...
Cabman asked 14/5, 2020 at 2:54

1

In a COM RPC Model, if the Server is running on a separate process, is it possible to know, the Process ID of the client Process communicating with the Server? Use Case I have an Out Process RPC ...
Kharkov asked 12/9, 2013 at 17:27

1

I have an ATL service running as an out-of-proc server that has several COM classes that the clients are expected to be using. Because of a change in requirements, I need to be able to identify whi...
Mia asked 1/3, 2016 at 16:53

4

I'm not going to lie. I'm not all the familiar with Windows and COM objects. That's why i'm here. First of all is it possible to access a DLL from within a PHP script running out of Apache? In my j...
Impermissible asked 7/7, 2009 at 23:9

9

I am creating an excel file using interop.excel and the process is not closing. This is the code i am trying to use. Private Sub converToExcel(fileLoc As String, ds As DataSet) Dim xlApp As Exc...
Houghton asked 8/1, 2013 at 19:22

11

I am using an excel object (COM component) for excel manipulation. It works fine on my PC, but when I deploy the application to our Intranet I am getting this error: Retrieving the COM class fac...
Ipa asked 19/5, 2009 at 5:47

12

Solved

Running an application from Visual Studio 2012 on 64-bit computers, displays the following error message: Retrieving the COM class factory for component with CLSID {F2D4F4E5-EEA1-46FF-A83B-A270...
Surcingle asked 1/8, 2013 at 5:10

3

Solved

I would like to know which functions I can use with RDCOMClient objects. For example, to create an email we can use OutApp <- COMCreate("Outlook.Application") # create an email outMai...
Leontineleontyne asked 23/5, 2021 at 3:8

5

We are working on an integration of a large MFC-based application with a handful of managed (.NET) add-ins. Communication with these add-ins is done via COM. Historically, we've just used the regi...
Comfit asked 29/10, 2009 at 16:3

4

Solved

SCENARIO I manage and organize many files during the day, the SendTo is the most used feature that I use on Windows. PROBLEM By default, when the user clicks an item/link of the contextmenu to s...
Product asked 9/4, 2015 at 18:46

2

Solved

I am searching for the possibility to open default property dialogues for particular Windows objects, like: the property dialogue for a particular service in services.msc the property dialogue for...
Pinter asked 27/3, 2022 at 18:41

2

Solved

With this code, I am opening excel(with visible = false so the user cannot see it), writing to a workbook, and then either opening excel(making it visible) after the script ends or closing it compl...
Hemihydrate asked 29/3, 2019 at 18:4

9

Solved

Can you explain STA and MTA in your own words? Also, what are apartment threads and do they pertain only to COM? If so, why?
Trescott asked 24/9, 2008 at 13:40

5

Solved

wprintf(L"Selecting Audio Input Device: %s\n", varName.bstrVal); if(0 == strcmp(varName.bstrVal, "IP Camera [JPEG/MJPEG]"))... The above reports : error C2664: 'strcmp' : cannot convert param...
Monomania asked 13/9, 2010 at 13:22

2

Solved

A WQL query in WMI using the COM API returns a SWbemObjectSet. From this, we can use the ItemIndex method to iterate over all objects in the set, resulting in many SWbemObjects. These have a Proper...
Bamberg asked 4/12, 2013 at 21:55

6

Solved

Is it possible to use an ocx (ActiveX Control) on a winform (probably adding it programatically) without first having the ocx registered with regsrv32? What I'm trying to achieve is to enable xcop...
Gadoid asked 24/10, 2008 at 18:20

3

Solved

I use COM with an old VB6 application. I changed my code to use DispID in interfaces as it seems to work better than using [ClassInterface(ClassInterfaceType.AutoDual)]. But is it allowed to be...
Fundamental asked 25/4, 2013 at 13:29

4

Solved

I would like to run WMI queries from Go. There are ways to call DLL functions from Go. My understanding is that there must be some DLL somewhere which, with the correct call, will return some data ...
Crossjack asked 4/12, 2013 at 1:44

6

Solved

My coworker is trying to register some COM components (which I wrote) via RegAsm.exe and it says he needs Administrator privileges. His account has admin privileges but he is not logged in as Admin...
com
Mancunian asked 21/10, 2010 at 20:51

2

Is it possible to increase the stack size of an ASP.NET core 2 binary? I have to use a 32 bit COM interop component which happens to smash the stack under some defined conditions. It's not an infin...
Loisloise asked 6/4, 2018 at 15:36

4

Solved

When I use "regsvr32 foo.dll" i get a "The specified module cannot be found" error. The error is being caused because regsvr32 cannot find the file even though it is the current folder. I have s...
Trilbie asked 29/7, 2009 at 11:27

1

Solved

I have been doing some research on .NET Core COM interop and how to expose them. Though I am having some issues coming up with a conclusion and understanding some concepts. My boss told me they did...
Carlenacarlene asked 7/10, 2021 at 14:18

© 2022 - 2024 — McMap. All rights reserved.