Skip to main content

Questions tagged [com]

Component Object Model (COM) is a component technology from Microsoft, featuring remoting, language independence and interface-based programming. For questions about the COM serial port, you should use the [serial-port] tag instead.

-2 votes
0 answers
18 views

Which Get Open Verb To Show In Windows 11 Context Menu

On Windows 7, when I right-click on an item in my namespace extension (NSE), the context menu includes the verb Open. On Windows 11, Open is missing. I am testing with shell items whose DisplayName ...
HackTheStack's user avatar
-3 votes
0 answers
24 views

Open and Open with... Missing From Windows 11 Context Menu [closed]

On Windows 7, when I right-click on an item in my namespace extension (NSE), the context menu includes the verb Open. On Windows 11, Open is missing. I am testing with shell items whose DisplayName ...
HackTheStack's user avatar
1 vote
1 answer
29 views

How to use one PS dataset in a WHERE-OBJECT of another dataset

I have been using PS for about 10 years. Today I am stuck with finding a solution to a problem where I want to have items used in a WHERE-Object loaded from a SQL table. From what I have read, I need ...
veeduber's user avatar
0 votes
0 answers
36 views

Replace existing COM server while still sending messages to it

So I had the need to replace an existing Microsoft COM server with my own implementation. I did this with an in-process COM Server written in .NET 8. In order to do this, I also took the same ProgID ...
cogumel0's user avatar
  • 2,574
-1 votes
1 answer
31 views

Set indexed Property with JACOB fails with 'Member not found'

I have to automate some tasks in XPedition with COM automation using Java and JACOB. When I try to set an indexed property of an object, I receive an error: com.jacob.com.ComFailException: A COM ...
ijb's user avatar
  • 9
0 votes
1 answer
55 views

Converting 32-Bit COM interface to 64-Bit

I am trying to convert/upgrade a 32-Bit COM file to compile as 64-Bit. I have fixed all of the bugs except for one. Here is the code in question: HRESULT WINAPI QueryIMEDDevice(void *pV, REFIID riid,...
Gary's user avatar
  • 91
0 votes
1 answer
54 views

MFC Support in Visual Studio

I have a VC++ 6.0 application that looks rather dated and doesn't build on anything later than Windows 7. I'm worried that MFC will not be supported moving forward as I upgrade to newer versions of ...
Mike's user avatar
  • 1
0 votes
0 answers
23 views

Tooltip help for C# COM DLLs [duplicate]

I am new to C# programming. I have created a COM DLL within C# to use in Visual Foxpro. Everything is working fine, by want to extend my DLL to show tooltip for all public properties and methods to ...
Premal Vala's user avatar
1 vote
1 answer
67 views

d3d10 C interface not available

I am porting an application from D3D7 to D3D10. Even though the C interface for D3D10 exists, It does not seem to be visible when compiling/linking. The D3D7 version uses the C interface and I do not ...
Raildex's user avatar
  • 4,466
0 votes
1 answer
52 views

Debugging assembly to call IUnknown::Release - is shadow space right?

I am getting a bug where sometimes this code works sometimes it does not: 48 8B 41 08 ; MOV RAX, [RCX + 0x08] gets the refcount 48 FF C8 ; DEC RAX ; decrement ...
Greedo's user avatar
  • 5,355
0 votes
1 answer
39 views

Updating SentOn Date value in .msg file saved in local folder

How Can I update the SentOn date in a .msg file located in local folder on my machine? Can this be done using python, VBA or any other tool?
Prashant Mishra's user avatar
0 votes
0 answers
50 views

The COM library for checking Windows updates search does not work according to the C++ MFC source code

Environment: Visual Studio 2015, MFC Issue: hr = CoInitialize(NULL); if (FAILED(hr)) { jvResult[_T("result")] = JsonValue::number((int)ISPT_ResultEnum::ISPTResult_Fail); jvResult[_T(...
Chang dae Kim's user avatar
-3 votes
0 answers
75 views

COM "attributes are not allowed here"

I have multiple COM objects that build fine. However, I created a new source file with another COM object an I am getting "attributes are not allowed here" when I use 'coclass". I ...
apprenticeprogrammer's user avatar
0 votes
0 answers
61 views

Created COM object with .Net 8. It just works (TM) but I am struggling with deps.json and consuming with Native code

I have a .Net 4.72 DLL, exposed to COM using ComVisible(true) and the rest. I'll put example in a sec. I have been modernizing this DLL to .Net 8. This DLL consumes some registered ocx files via ...
Matt's user avatar
  • 1
0 votes
0 answers
84 views

CorelDRAW.Application class not registered VBA CorelDRAW

I'm trying to make a program in Excel's VBA editor that interacts with Corel. When I try to run Corel in the COM via this line: Set cdrApp= CreateObject("CorelDRAW.Application") I get "...
jsgv's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
823