Link to home
Start Free TrialLog in
Avatar of Mangala G
Mangala G

asked on

create com object from interface

Hello,
There are 2 COM interfaces whose implementation is proprietary

I need to create a COM object (either in C++ or C# com server) and invoke it to use their functions from a c# client console application

How should i approach the task?

Thank you
Avatar of sarabande
sarabande
Flag of Luxembourg image

the link to the 2 COM Interfaces is not valid.

How should i approach the task?

you may search for the names of COM Interfaces and add c++ or c# into the query.

Sara
Avatar of Mangala G
Mangala G

ASKER

I am really sorry about the link
I have shared them directly below
https://www.prepar3d.com/SDKv4/sdk/pdk_api/service_providers/group__weatherservice.html
The interfaces are defined in a header file which is all I have. Is it possible to create a COM object?
Thank you
the only c++ code i found with the names of your interfaces is at

www.fsdeveloper.com/forum/threads/pdk-addon-to-display-weather-data.443657/#post-806408

the post is only 1 week old, so it might be your own thread which is discussed there.

but some statements made in the thread seem to apply that the COM objects could be created.

Sara
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.