4 ms·
Did this close to twenty years ago. Ported a COM DLL to Linux and one of the executables using it. I implemented everything it needed. COM functions like CoCre
by kazinator 10y ago
Did this close to twenty years ago. Ported a COM DLL to Linux and one of the executables using it.
I implemented everything it needed. COM functions like CoCreateInstance, entry points like DllCanUnloadNow, Windows Sockets and whatnot.
The registry API! Ha. I mapped HKEY_CURRENT_USER to configuration files rooted in the user's home directory, and HKEY_LOCAL_MACHINE to /etc.
The lib's DllRegisterServer nicely registered its COM class inside the fake registry.
Don "COM is Love" Box would have teared up had he seen this.
- yuhong 10y agoOpen Group had COMsource: http://www.opengroup.org/comsource/ http://www.opengroup.org/comsource/
- blinkingled 10y agoSoftware AG had DCOM (EntireX?) implementation for Solaris/Linux back in the day It was freely downloadable and came with working examples :)
- deleted 10y ago[deleted]
- rwj 10y agoSame thing here. Wrote enough of a COM implementation that some software could be compiled native on Linux. The cool bit was that we automatically generated the Python bindings as well, so all the COM components were easily accessible for scripting.