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.

com
0 votes
0 answers
29 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
54 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
51 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
-1 votes
0 answers
36 views

Retrieving the COM class factory failed

I am running an old VB program, and I cannot get around the COM failure. I started with going through the forums and I did find other post with this exact issue. Here's why I had to make a new ...
ShapeShifter42's user avatar
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
66 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
47 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
83 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
0 votes
0 answers
29 views

Must shell extension be not in the main STA?

I have a shell extension dll that adds a menu item in the context menu. But it can only run after I add the value ThreadingModel=Apartment in the InProcServer32 key of registry. Without the value, the ...
William's user avatar
  • 948
0 votes
0 answers
18 views

I make a custom entity with dbx, and creat a com wrapper ,but some errors apper at run time

I want to implements some functionality: the plugin runs in AutoCAD , create a cunstom entity , and show it's properties in OPM, i found a reference file(Tutorial on COM Services for Custom Objects) ...
no na's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
823