Communicate with an MFC application
-
How can I make a silverlight application communicate with an MFC application? Should I simply use sockets or is there a way that an MFC application can act as a webservice? Or anything else? Thanks in advance!
BadJerry wrote:
How can I make a silverlight application communicate with an MFC application?
Silverlight beta 2 supports WS-I Basic Profile 1.1 and socket.
BadJerry wrote:
Should I simply use sockets or is there a way that an MFC application can act as a webservice?
I don't have that much idea MFC. You may need to ask about that in MFC forum.. From Silverlight point of view, if you wanna use web service, you need to follow WS-I Basic Profile 1.1. (ASMX, WCF service works pretty well with Silverlight. )
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
-
BadJerry wrote:
How can I make a silverlight application communicate with an MFC application?
Silverlight beta 2 supports WS-I Basic Profile 1.1 and socket.
BadJerry wrote:
Should I simply use sockets or is there a way that an MFC application can act as a webservice?
I don't have that much idea MFC. You may need to ask about that in MFC forum.. From Silverlight point of view, if you wanna use web service, you need to follow WS-I Basic Profile 1.1. (ASMX, WCF service works pretty well with Silverlight. )
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
-
Thanks for your reply... much appreciated! I amm now thinking of instanciating a COM object in the instance object of a Web Service... and use that as the channel of communication... Do you think this could work? any caveats?
BadJerry wrote:
I amm now thinking of instanciating a COM object in the instance object of a Web Service... and use that as the channel of communication... Do you think this could work? any caveats?
You may be able to instantiate the COM object in webservice but you won't be able to do that in Silverlight. If you are talking about socket, please check-out this post. a>[^] IMHO, Silverlight 2 beta1 has a lot of issue for networking things. If you are just using ASMX web service or WCF, I'm sure it will be working fine. Otherwise, I'm not so sure about that.
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
-
BadJerry wrote:
I amm now thinking of instanciating a COM object in the instance object of a Web Service... and use that as the channel of communication... Do you think this could work? any caveats?
You may be able to instantiate the COM object in webservice but you won't be able to do that in Silverlight. If you are talking about socket, please check-out this post. a>[^] IMHO, Silverlight 2 beta1 has a lot of issue for networking things. If you are just using ASMX web service or WCF, I'm sure it will be working fine. Otherwise, I'm not so sure about that.
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)