Re: Handling c++ events in IDL (Virtual Machine) [message #46840 is a reply to message #46839] |
Tue, 27 December 2005 16:40  |
Robert Barnett
Messages: 70 Registered: May 2004
|
Member |
|
|
Dear Chintan,
I am guessing that you are quite well versed in C++. I suspect that if
you want to use visual C++ as a GUI then you are better having the
whole application in C++. If there is an algorithm which is
particularily difficult to transcode into C++ then you can use
"CALLABLE IDL" (see the IDL external developers guide).
The license for the IDL virtual machine prevents the use of calling
arbitrary IDL commands from C. You can buy an IDL runtime license to
allow you to call IDL_ExecuteStr(char *cmd); from C. Even if you do get
the license, encoding every GUI event into a syntactially correct IDL
statement is a challenging task.
It sounds like you're using the Windows platform. If so, you can use
the ActiveX/COM+ interface. This might be more appropriate if you want
to get pretty windows widgets into your IDL program. It can also be
distributed with the IDL virtual machine.
Robbie
raval.chintan@gmail.com wrote:
> Dear All,
>
> I want to display the image that is being read by idl and want to
> display on the C++ GUI(using DLL/DLM), and what ever the events that
> are generated in C++ GUI they should be recieved and processed by IDL.
> i also want to distribute this application on IDL virtual machine. is
> it possible ? if yes then can any one guide me how one can achieve
> this?
>
> Regards,
> Chintan Raval.
|
|
|