Re: C++ DOM Binding

David Williams wrote:
> 
> Ming-Fang.Wang@alltel.com wrote:
> >
> >      Hi, I would like to know if there is a C++ DOM binding spec.
> 
> We developed a C binding using the Java bindings as a guide. The first
> argument is always the object (which is a vtable like self descriptive
> object), and overloaded method names were extended to include type in the
> name:
> 
>    value = PDOMgetValue(textObject);
> 
>    PDOMsetValue(textObject, "new value");
> 
>    etc...

It might be good to follow the OMG-IDL binding to C a bit more
closely; it defines the method naming and how exceptions get
handled, for example.

- Dave

Received on Thursday, 7 January 1999 20:46:16 UTC