12,394 questions
0
votes
0
answers
59
views
IStream audio output data routed from ISpVoice is glitchy [duplicate]
I've managed to stream raw PCM audio data from Microsoft's text to speech engine. The main implementation is here (included below): https://gitlab.com/bgc-nz/windows-com-programming-showcase/-/blob/...
1
vote
0
answers
78
views
COM issues while remote debugging
I have configured my computer for remote debugging: I have the Visual Studio solution and projects on my development computer and the testing is about to happen on a remote testmachine.
On the ...
1
vote
0
answers
137
views
How to register an C# class for COM?
I'd like to create an C# WPF library exposing some class to COM to use the class functionality from separate C++ project.
What I'd like to achieve is to have a WPF class which implements simple form ...
Advice
0
votes
3
replies
66
views
Is it possible to connect the New Outlook for Windows to our own server?
I have a COM C++ plugin which is developed using MAPI, which gets installed on Outlook and then it talks to my sever, I create a Mail profile providing server, user and pwd and it connect to server ...
0
votes
1
answer
64
views
Setting Excel_Application.Calculation property (via Delphi & OLE)
I am trying to read and set the calculation mode in Excel. I have
type
TXlCalculation = type LongWord;
const
xlCalculationAutomatic:TXlCalculation = TXlCalculation(-4105);
xlCalculationManual:...
Best practices
1
vote
4
replies
146
views
What are the strengths and weaknesses of using VTable/COM-centric APIs?
I'm currently designing a library,
I want this library to maintain a stable interface for old applications,
However, it should be expandable.
It acts as a hardware abstraction layer.
The graphics ...
0
votes
0
answers
119
views
Do STA threads always need to pump messages?
Some components like DirectWrite or WIC don't do UI, and as the caller I can ensure that I never use them across apartments, thus no marshaling is required. Can I use them on a worker thread without ...
0
votes
0
answers
175
views
Suitable Pandas installation on 32-bit Python (3.10, 3.11)
I am trying to use the Kiwoom OpenAPI (for making automated stock trading program), which requires a 32-bit Python environment. However, to successfully use Kiwoom Open API I need to set up pandas in ...
0
votes
0
answers
96
views
How to pass null as ActiveX control parameter
ActiveX control was registered from dll file using regsvr32:
cd \windows\syswow64
regsvr32 "C:\mapp\mycontrol.dll"
FoxPro object is created from it using
ofiscalprinter=CREATEOBJECT('...
0
votes
1
answer
98
views
How to get the contents of a SAFEARRAY on one line in the watch-window
Since recently, I'm working in C++ with COM technology, which means using SAFEARRAY objects. One of the first challenges is seeing the contents of such an object: in the watch-window, such an object ...
1
vote
0
answers
96
views
How to replace a COM Interop with the ComWrapper Source Generator?
I am currently using a COM Interop DLL, generated with tlbimp, to access a proprietary COM library from C# (net8), so no source code available (TLB embedded in DLL). It works, but stops me from using ...
-1
votes
1
answer
81
views
COM CCertRequest via CSWin32
I'm currently using a COM component to initialize an instance of CCertRequest from CertCliLib.
I would like to move to CSWin32 with that, but it seems the CCertRequest does not implement any ...
1
vote
0
answers
120
views
Powershell Com Object Issues
I have a simple script to make file transfers between a local directory and an MTP device. For the MTP device, I created a ComObject and traversed to the desired directory. Then, I use the CopyHere ...
0
votes
1
answer
313
views
Can MMC 2.0 Automation Object Model run MMC32 in 64-bit Windows?
When launching MMC in 64-bit Windows, MMC64 will start, then if the -32 switch was passed in the command line, MMC64 will try and start MMC32 and, if succesful, MMC64 will terminate.
When creating an ...
1
vote
0
answers
99
views
How to consume COM events with C# dynamic without COM registration
I can use an out-of-process COM server that is not registered with C# dynamic, and this works fine, but I cannot get events to work.
My code basically is something like this:
Process.Start("path\\...