Loading ...
Sorry, an error occurred while loading the content.

Re: [dxatlas] Using OmniRig COM object with Borland C++ Builder

Expand Messages
  • Alex, VE3NEA
    Hi Dan, Please send me your TLB .cpp and .h files, I will see if I can figure out what should be created in CPP instead of TOmniRigX . Please write to my
    Message 1 of 1 , Nov 24, 2004
    • 0 Attachment
      Hi Dan,

      Please send me your TLB .cpp and .h files, I will see if I can figure out
      what should be created in CPP instead of TOmniRigX .

      Please write to my direct email, this topic is too technical for this group.

      73 Alex VE3NEA




      >
      >
      > Alex.
      > 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
      > just fine.
      >
      > So pressing on I followed your pascal example
      > where you define OmniRig as such:
      > OmniRig: TOmniRigX;
      > which in C++ would be
      > TOmniRigX OmniRig1; however TOmniRigX is not defined in the type libary.
      >
      > If I do
      > CoOmniRigX *OmniRig;
      > OmniRig.Create();
      > that seems to create the com ojbect (there is the normal delay while
      > the OS builds it)
      > However then
      > 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 ?.
      >
      > Thanks
      > Dan WR0DK
      >
      >
      >
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.