[cfe-dev] COM ABI support?

Wang Qi wqking at outlook.com
Wed Jul 10 18:59:57 PDT 2013


----------------------------------------
> From: swlin at post.harvard.edu
> Date: Wed, 10 Jul 2013 17:14:19 -0700
> To: cfe-dev at cs.uiuc.edu
> Subject: [cfe-dev] COM ABI support?
>
> Hi all,
>
> Just curious, does anyone know how much of the Microsoft COM ABI
> subset of the MSVC C++ ABI Clang currently supports? Can clang be used
> to implement COM objects and interfaces using C++ inheritance (i.e.
> instead of using C-style explicit function tables, etc.?)
>
> (I'm hoping this is a cogent question rather than something which
> reveals my ignorance/misunderstanding of the situation...)

Did you try COM with Clang?
I doubt COM requires special ABI support from the compiler.
A COM interface is just a group of abstract virtual function,
same as how we use the concept "interface" in C++.
There is no special thing in COM, IMHO. 		 	   		  




More information about the cfe-dev mailing list