Re: Generate C++ code from existing IDL [message #54410] |
Mon, 11 June 2007 12:17  |
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.
|
|
|