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

Home » Public Forums » archive » Re: ActiveX/Callable IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: ActiveX/Callable IDL [message #31337] Tue, 02 July 2002 14:40
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Michael Geyer (geyer@michael-geyer.de) writes:

> I'd like to connect an existing Visual Basic application to an existing
> IDL application using IDL 5.5 on Win 2000/XP. I already succeeded in
> embedding the IDL program into Visual Basic/Visual C using the IDL
> ActiveX Control (IDLDrawWidget); the widgets of the IDL application work
> properly and sending commands from Visual Basic to IDL works. However, I
> would like to have a two way interface - so that IDL can also send
> commands to the Visual Basic/C program. The easiest thing
> to do this would be something like firing an user defined event from IDL
> via the ActiveX control. Is there a possibility to do so?
> Or should I use a completely different technique (maybe Callable IDL) ?
> A phone call to my local IDL dealer wasn't very helpful....
>
> Can someone give me a hint?
> Thanks very much for every suggestion,

Despite what you may have heard or been told, IDL is not
really designed for this sort of seamless interplay between
two disparate applications. IDL was designed to be a stand-alone
program. So you are almost always better off keeping the locus
of control either totally in IDL, or totally in your VB
program. Mixing can be frustrating at best, and virtually
impossible at worst.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Previous Topic: ActiveX/Callable IDL
Next Topic: Re: structure use

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

Current Time: Fri Oct 10 09:33:35 PDT 2025

Total time taken to generate the page: 0.72005 seconds