Re: C++ from Ada, again



hello ,all:


there are some articles discussing about "how to write a COM in plain
c".
we know COM and C++ share almost the same memory layout structure.
and ada has a c interface.
It make you make a interface for ada.

http://www.codeproject.com/com/com_in_c1.asp
http://www.codeproject.com/com/com_in_c2.asp
http://www.codeproject.com/com/com_in_c3.asp
http://www.codeproject.com/useritems/com_in__c4.asp

I never try it but I think it should be work.


.



Relevant Pages

  • Re: C++ from Ada, again
    ... we know COM and C++ share almost the same memory layout structure. ... It make you make a interface for ada. ... However, it seems it works only for Windows, right? ...
    (comp.lang.ada)
  • Re: For the AdaOS folks
    ... API that says create/delete an integer? ... >>as an Ada binding, I can do another registry query and get the ... libraries can strengthen the typing of the Ada interface. ...
    (comp.lang.ada)
  • Re: Ada DB bindings and APQ
    ... > seems like unnecessary indirection and complexity - what ... The only way Ada might help ... Sybase interface is a low-level one. ... >> connection before a query that depends on it etc. ...
    (comp.lang.ada)
  • Re: Generic Package
    ... addresses and refer to addresses in a consistent way. ... (I'll listen to Randy who said: "In any case, this is an Ada forum, ... an interface for expressing all preconditions, ... all orderings are ordered but some orderings are more ordered than ...
    (comp.lang.ada)
  • Re: EM_SETOLECALLBACK
    ... > richedit control. ... Here is a working implementation of IRichEditOleCallback in plain C ... #define INTERFACE IRichEditOleCallback ...
    (microsoft.public.win32.programmer.ole)