Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Communicate with an MFC application

Communicate with an MFC application

Scheduled Pinned Locked Moved WPF
questionc++
5 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BadJerry
    wrote on last edited by
    #1

    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!

    M 1 Reply Last reply
    0
    • B BadJerry

      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!

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      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)

      B 1 Reply Last reply
      0
      • M Michael Sync

        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)

        B Offline
        B Offline
        BadJerry
        wrote on last edited by
        #3

        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?

        M 1 Reply Last reply
        0
        • B BadJerry

          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?

          M Offline
          M Offline
          Michael Sync
          wrote on last edited by
          #4

          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)

          B 1 Reply Last reply
          0
          • M Michael Sync

            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)

            B Offline
            B Offline
            BadJerry
            wrote on last edited by
            #5

            Thanks for this - and great blog as well. I have bookmarked it!

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups