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

Home » Public Forums » archive » Re: Generate C++ code from existing IDL
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
Re: Generate C++ code from existing IDL [message #54410] Mon, 11 June 2007 12:17
b_gom is currently offline  b_gom
Messages: 105
Registered: April 2003
Senior Member
I think this person is looking for a C++ newsgroup relating to
"Interface Description Language" issues, and not the "Interactive Data
Language" newsgroup...


On Jun 11, 5:54 am, kuyper <kuy...@wizard.net> wrote:
> vedran.bra...@gmx.net wrote:
>> Hi,
>
>> I was given an IDL file and was asked to implement it.
>
>> How can I create a Project with VS2005, load the IDL somehow and let
>> VS2005 generate the classes with empty methods.
>
>> After that I just have to implement each method.
>
>> That should actually be possible, because all the information about
>> the classes already exists in the IDL-file, right?
>
> It might in principle be correct, but in practice the many fundamental
> differences between IDL and C++ make any kind of automatic conversion
> between them very difficult. I won't say it's impossible - I've seen
> people accomplish many things that I would have thought were
> impossibly difficult. But I'll be very surprised if anyone has
> automated this process. To do this conversion, you need someone who is
> an expert in both IDL and C++, and that person is going to have to
> design the C++ program from the ground up, using the design of the IDL
> as a guideline.
Re: Generate C++ code from existing IDL [message #54418 is a reply to message #54410] Mon, 11 June 2007 04:54 Go to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
vedran.bra...@gmx.net wrote:
> Hi,
>
> I was given an IDL file and was asked to implement it.
>
> How can I create a Project with VS2005, load the IDL somehow and let
> VS2005 generate the classes with empty methods.
>
> After that I just have to implement each method.
>
> That should actually be possible, because all the information about
> the classes already exists in the IDL-file, right?

It might in principle be correct, but in practice the many fundamental
differences between IDL and C++ make any kind of automatic conversion
between them very difficult. I won't say it's impossible - I've seen
people accomplish many things that I would have thought were
impossibly difficult. But I'll be very surprised if anyone has
automated this process. To do this conversion, you need someone who is
an expert in both IDL and C++, and that person is going to have to
design the C++ program from the ground up, using the design of the IDL
as a guideline.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: help on learing IDL
Next Topic: Re: fast for loop

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

Current Time: Wed Oct 08 13:42:36 PDT 2025

Total time taken to generate the page: 0.00433 seconds