Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello,
my aim is to customize autodesk inventor 2015(3d cad) with the use of Qt5.5.1(Compiler MSVC2013_32bit,c++,standalone.exe)
Inventor offers a com interface.

1)Problem with using the dumpcpp control
I would prefer to use the ActiveQt framework for this i used the dumpcpp control
to get a .h and cpp file from the tlb file
But after building the project i get 3 errors from the header file and i do not know how to solve this issue

2)import control
the import control works and i can access the interface but i do not know
how i can use now the ActiveQt framework
My current problem is how to handle events. For this i would prefer ActiveQt
as a com wrapper to make things easier but i think its connected with the dumpcpp control so it would be great if anybody could advise me how i can use ActiveQt or possible another wrapper for com in Qt
Thanks in advance


//#import "C:\Program Files\Autodesk\Inventor 2015\Bin\RxInventor.tlb" \
//rename("GetObject", "InvGetObject") \
//rename("DeleteFile", "InvDeleteFile") \
//rename("CopyFile", "InvCopyFile") \
//rename("MoveFile", "MoveFile") \
//rename("SetEnvironmentVariable", "InvSetEnvironmentVariable") \
//rename("GetObject", "InvGetObject")
Posted

1 solution

Honestly I hate typelibs so much I usually just create my own headers for the interfaces and classes if I can. The only exception is when there are custom marshallers, or if the library is huge and I can't find headers somewhere already.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900