Some good news here, or bad, depends how you look at it. COM is not supported in Windows Azure. Azure VM’s don’t have COM runtime installed. Currently the only native code supported in Windows Azure is standard C++ library and standard Win32 API. There’s no MFC, COM or COM+.
To expose the C++ library as a service, if it is a 64 bit library, you can use straight PInvoke. If it is a 32 bit library, you’ll have to create a .NET exe project as a bridge that will use PInvoke with the native library. Then expose a WCF service in the .NET project using NetNamePipeBinding. Your web/worker role can than talk with the WCF service.
I don’t believe COM will be supported any time in the future.
Related posts:
- Windows Azure SDK And Tools February 2010 Release This release supports VS 2008 and the upcoming VS 2010...
- Windows Azure Service Management API Microsoft released a preview of the Windows Azure Service Management...
- Windows Azure SDK Tools November 2009 Release Microsoft just released several new features for Windows Azure through...












