comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » activeX?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
activeX? [message #31483] Thu, 25 July 2002 11:03 Go to next message
nstsmt is currently offline  nstsmt
Messages: 3
Registered: June 2002
Junior Member
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
Re: activeX? [message #31668 is a reply to message #31483] Fri, 26 July 2002 01:54 Go to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
NSTSMT wrote:

> 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

I'm not sure if this will be of any help, but is it possible to run IDL on
windows in server mode? If so, you could send IDL commands, along with
data, from your C++ code to IDL and get IDL to process and display the
results. It really depends on the amount of data to be transferred.

Or maybe you can make a call from IDL to your C++ code which receives the
data? I don't know how you receive your data, but maybe the C++ code could
wait until it received the data then return to IDL where it would be
processed and displayed.

I'm just guessing really without more details.

--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: who teases happily, when Rachel scolds the sick raindrop under the ocean
Next Topic: Re: bizarre number transformation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:52:02 PDT 2025

Total time taken to generate the page: 0.01089 seconds