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. C#
  4. Sending Image to C++

Sending Image to C++

Scheduled Pinned Locked Moved C#
c++graphicshelpquestion
3 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
    liqnit
    wrote on last edited by
    #1

    Hi is there a way i can send or give access\reference to Buffer i have with BMP image inside to another object application written in C++ unmaneged? using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace LoadImageBMP { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { mLoadImagetoBuffer(); pb1.Image = System.Drawing.Image.FromFile(@"M:\Inbox\Card.bmp"); } private void mLoadImagetoBuffer() { //(@"M:\Inbox\Card.bmp"); Image Mbmp; Mbmp = System.Drawing.Image.FromFile(@"M:\Inbox\Card.bmp"); } } } i want to semd give acess to Mbmp. any idea would help.

    Have a nice Day

    L 1 Reply Last reply
    0
    • L liqnit

      Hi is there a way i can send or give access\reference to Buffer i have with BMP image inside to another object application written in C++ unmaneged? using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace LoadImageBMP { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { mLoadImagetoBuffer(); pb1.Image = System.Drawing.Image.FromFile(@"M:\Inbox\Card.bmp"); } private void mLoadImagetoBuffer() { //(@"M:\Inbox\Card.bmp"); Image Mbmp; Mbmp = System.Drawing.Image.FromFile(@"M:\Inbox\Card.bmp"); } } } i want to semd give acess to Mbmp. any idea would help.

      Have a nice Day

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I think you must first take a look at how to use managed code in unmanaged world. http://www.codeproject.com/managedcpp/ijw\_unmanaged.asp

      L 1 Reply Last reply
      0
      • L Lost User

        I think you must first take a look at how to use managed code in unmanaged world. http://www.codeproject.com/managedcpp/ijw\_unmanaged.asp

        L Offline
        L Offline
        liqnit
        wrote on last edited by
        #3

        thanks i am reading it now

        Have a nice Day

        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