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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Pass Image or text data from MFC to c# application

Pass Image or text data from MFC to c# application

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharpquestion
2 Posts 2 Posters 0 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.
  • L Offline
    L Offline
    low1988
    wrote on last edited by
    #1

    Hi, I have a passport scanner to scan the passport image to the MFC client application. I was wondering if there is any method to enable the passport image populated on the MFC application could be able to transfer to another c# application an display on a popup window ?I am planning to form up a communication between the c++ and c# application, so that the passport image could be able to process in the c# web application once it was scanned from the MFC application connecting to the passport scanner. Thanks.

    A 1 Reply Last reply
    0
    • L low1988

      Hi, I have a passport scanner to scan the passport image to the MFC client application. I was wondering if there is any method to enable the passport image populated on the MFC application could be able to transfer to another c# application an display on a popup window ?I am planning to form up a communication between the c++ and c# application, so that the passport image could be able to process in the c# web application once it was scanned from the MFC application connecting to the passport scanner. Thanks.

      A Offline
      A Offline
      Albert Holguin
      wrote on last edited by
      #2

      It's just bytes... use one of the many IPC types[^]. Sockets are likely your most commonly used IPC nowadays for a number of reasons, but there's always other options that have different benefits (and drawbacks of course). For example, simply having a shared file would be very simple since you just have to write the file to a shared location and then have a way of notifying the other application of the new file to process (notice can be done via Windows message or other such messaging mechanism, or simply have one application launch the other and load the proper file via command line arguments). You have a lot of options, you have to decide what's important then implement accordingly. Happy coding! :)

      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