COM and Windows Azure. Good News!

Posted by Alin Irimie on May 25, 2009

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.

Share it:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • E-mail this story to a friend!
  • Live
  • NewsVine
  • TwitThis
  • StumbleUpon
  • Technorati

Related posts:

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

Comments