Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
Not able to use DCOM between 2 exes on same device on Windows CE 7.0

Answered Not able to use DCOM between 2 exes on same device on Windows CE 7.0

  • Friday, March 09, 2012 9:10 AM
     
     
    Issue: Not able to use DCOM between 2 exes on same device on Windows CE 7.0

    Description: 
         I am trying to access a COM interface implemented in an exe through another exe on a Windows CE 7.0 device.
         I use the function CoCreateInstance (i.e. CLSCTX_LOCAL_SERVER).However I get the error as E_NOINTERFACE.
         If I access the interface through a DLL( i.e CLSCTX_INPROC_SERVER) CoCreateInstance is successful. 
         I have checked the registry to verify that the com class is registered correctly.
         Can anybody please let me know if I am missing anything. I checked the examples provided by microsoft 
         for DCOM on Windows CE device but all the examples were for CLSCTX_INPROC_SERVER.
         I understand that Remote DCOM is not supported on Windows CE 7.0 but I am trying to communicate between
         2 exes on the "SAME DEVICE". 

         Can anybody please help me understand as to why this is not possible?

All Replies

  • Friday, March 09, 2012 11:39 AM
     
     Answered
    This is an online forum provided by Microsoft about their product "Microsoft Project".  You'll have better luck with your question if you re-post in a more appropriate forum. See http://www.microsoft.com/communities/forums/default.mspx or search via Google and/or Bing.

    --rms www.rmschneider.com