Link to home
Start Free TrialLog in
Avatar of KCjim
KCjim

asked on

First C++ COM Object

Please help.  I am proficent in C# and the new microsoft .net framework, but I have to access a third part dll using com/interop with .net and I am unable to successfully get the results i need from using platform invoke and the third party dll does not provide a type library so I cannot use the type library importer tool.

I can however create all my logic in C++ and then create a RCW to allow me to acces my new object in C#, but I have never ever create a true c++ com object or dll and don't know where to begin.

Can someone please point me in the right direction whether it be books or web examples.  All I need is a simple example and I can move foreward.

Thanks

Jim
Avatar of KCjim
KCjim

ASKER

One additional thing, this must be an UNMANAGED exmample as this third party dll is not at all complient with manged classes
ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of KCjim

ASKER

Thanks

Jim