Re: activeX? [message #31482] |
Thu, 25 July 2002 11:22 |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
I know a vc++ example ships with IDL5.5 although it might not install by
default.
Another option if you are using 5.5 would be using COM objects. The only
documentation I have found is in the What's New in 5.5 .pdf file and
although it is lacking it will help get you started.
I have only used the widget_activex function and ran into a wall trying to
pass arrays of data from my activeX object to IDL. I have been informed
that this is possible, but I haven't been able to get it to work. The poor
documentation and lack of examples is a problem.
-Rick
------------------------------------------------------------
README file: <RSI_Directory>
<IDL_Directory>
external
activex
vc
------------------------------------------------------------
This directory contains an example application using IDL's
ActiveX control, illustrating the passing of data between
IDL and Microsoft Visual C++. This application contains an
active command line, an object graphics window, a log window,
and buttons to control the data transfer.
To build the application, load the workspace "DrawXCpp.dsw"
into Microsoft Visual C++, and select "Rebuild All" from the
developer studio "Build" menu. You can then select "Execute"
from the "Build" menu to execute the application.
"NSTSMT" <nstsmt@aol.com> wrote in message
news:20020725140339.22526.00000003@mb-mc.aol.com...
> Hi,
> First let me describe what I am trying to do, and then the way that I am
> trying to do it to see if there are any other suggestions, before getting
to my
> immediate questions.
>
> I have written a IDL Gui application that opens a file, processes the
data, and
> then displays the results. It works nicely as a stand-alone application.
Now I
> have to tie that into by Corba based distributed system. So instead of the
user
> opening a file to initiate things, the file is sent through corba. Right
now,
> all of the corba code is written in c++. So currently I have 2 separate
> applications. One that shows the receiving of messages (written in c++ and
> outputs to console), and one that analyzes the data and graphically
displays
> results (IDL). I need to tie these together.
>
> The only way that I can figure out how to do this, is to use the activeX
> features of IDL, and embed IDL into my c++ code. Does anyone have any
examples
> of how to do this? The documentation uses Visual Basic, but I dont have
visual
> basic, I have visual c++. So I am looking for examples based on visual
c++.
>
> Thanks
> Neil
>
|
|
|