129Using OmniRig COM object with Borland C++ Builder
- Nov 24, 2004Alex.
I'm going to try and implement using OmniRig into my Logging program
for the Minnesota QSO party but having trouble getting the objcet
setup under Builder. I imported the type libary (omnirig.exe) into
builder and it generates the OmniRig_TBL.cpp and OmniRig_TLB.h files
So pressing on I followed your pascal example
where you define OmniRig as such:
which in C++ would be
TOmniRigX OmniRig1; however TOmniRigX is not defined in the type libary.
If I do
that seems to create the com ojbect (there is the normal delay while
the OS builds it)
OmniRig.DialogVisible = true;
will not compile because DialogVisible is not a member of CoOmniRigX.
This is the first time I've tried to use COM objects under Builder so
I'm probably doing something wrong from the getgo.
Could you comment on this, do you have any C++ code examples that
implement OmniRig. Anybody on the list worked on this ?.