Re:Windows 10 Technical Preview Source Tree
by DominikD on Thursday December 25, 2014 @11:25AM
(#8796523)
I'm not sure what you mean by "C++ object semantics" but COM objects are just objects, that I'm positive. My code was in .cpp file, not .c - that I'm sure of as well. This is why I'm saying that extensions seem to be guesses - PDBs carry module names w/o extensions.
[ Parent
| on HN ]
Re:Windows 10 Technical Preview Source Tree
by asveikau on Thursday December 25, 2014 @02:21PM
(#8796931)
Nothing stops you from following the COM ABI from C or any other language, which is kind of the point. The .h files generated from the idl have that CINTERFACE macro which has the vtable structs, in a form convenient for consuming from a C (and not C++) program.
Re:Windows 10 Technical Preview Source Tree
by DominikD on Thursday December 25, 2014 @08:03PM
(#8797647)
Sure it's doable. I wrote some DirectX apps in pure C back in the days. Heck, I wrote one in ASM. But it's art for art's sake. There's no point in complicating your life like that, especially not when you're working on a commercial project.