Click here to Skip to main content
15,922,407 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: split forms Pin
mikobi13-Dec-07 0:17
mikobi13-Dec-07 0:17 
GeneralRe: split forms Pin
Hamid_RT20-Dec-07 2:23
Hamid_RT20-Dec-07 2:23 
GeneralVariable Change Pin
sidkraft11-Dec-07 5:59
sidkraft11-Dec-07 5:59 
GeneralRe: Variable Change Pin
led mike11-Dec-07 7:07
led mike11-Dec-07 7:07 
QuestionUser stops loop. Pin
Naturality10-Dec-07 12:31
Naturality10-Dec-07 12:31 
GeneralRe: User stops loop. Pin
George L. Jackson10-Dec-07 13:56
George L. Jackson10-Dec-07 13:56 
GeneralRe: User stops loop. Pin
Naturality10-Dec-07 21:00
Naturality10-Dec-07 21:00 
QuestionHow to pass object between MFC C++ DLL and C# program? Pin
JMisfit10-Dec-07 4:20
JMisfit10-Dec-07 4:20 
I really hope I'm not asking a question that has already been answered, I've searched and couldn't find an adequate answer so thought I'd ask and hope that those that understand this technology much better than me can help me out.

The problem: I have a program written in MFC, I want to remove a portion of it and wrap it into a .dll, including an object with over 200 properties and forms so that this common code can be accessed from the program it's currently in as well as newer programs being written in C#. Basically this DLL will allow a user to change many properties of an object and I want to pass that object back and forth between the C# programs and the MFC DLL.

Ideally I'd like to be able to create the object in the C# program, fill its properties, pass the object to the MFC DLL, allow user to edit properties, and pass back to C# program.

Is there a clean way to pass the class object or reference to it in one call without having to pass each property individually?

Thank you for any and all help!
AnswerRe: How to pass object between MFC C++ DLL and C# program? [modified] Pin
led mike10-Dec-07 4:54
led mike10-Dec-07 4:54 
Questionhow can i get input from hardware(Non computer Devices ) Devices ? Pin
r.srinivas10-Dec-07 1:48
r.srinivas10-Dec-07 1:48 
GeneralRe: how can i get input from hardware(Non computer Devices ) Devices ? Pin
led mike10-Dec-07 5:01
led mike10-Dec-07 5:01 
GeneralRe: how can i get input from hardware(Non computer Devices ) Devices ? Pin
George L. Jackson10-Dec-07 5:11
George L. Jackson10-Dec-07 5:11 
Questioncan anybody tell me why the size of an empty class is 1 Pin
philiptabraham9-Dec-07 23:19
philiptabraham9-Dec-07 23:19 
AnswerRe: can anybody tell me why the size of an empty class is 1 [modified] Pin
George L. Jackson10-Dec-07 3:31
George L. Jackson10-Dec-07 3:31 
AnswerRe: can anybody tell me why the size of an empty class is 1 Pin
Luc Pattyn10-Dec-07 3:41
sitebuilderLuc Pattyn10-Dec-07 3:41 
AnswerRe: can anybody tell me why the size of an empty class is 1 [modified] Pin
Mark Salsbery10-Dec-07 7:59
Mark Salsbery10-Dec-07 7:59 
GeneralRe: can anybody tell me why the size of an empty class is 1 Pin
George L. Jackson10-Dec-07 8:36
George L. Jackson10-Dec-07 8:36 
GeneralRe: can anybody tell me why the size of an empty class is 1 Pin
Mark Salsbery10-Dec-07 9:17
Mark Salsbery10-Dec-07 9:17 
QuestionMVC Design Pattern - Controller & View problem Pin
atzplzw9-Dec-07 13:55
atzplzw9-Dec-07 13:55 
GeneralRe: MVC Design Pattern - Controller & View problem Pin
George L. Jackson10-Dec-07 14:03
George L. Jackson10-Dec-07 14:03 
GeneralRe: MVC Design Pattern - Controller & View problem Pin
led mike11-Dec-07 6:56
led mike11-Dec-07 6:56 
General[Message Deleted] Pin
rogery9-Dec-07 0:28
rogery9-Dec-07 0:28 
GeneralRe: control type Pin
Luc Pattyn9-Dec-07 7:13
sitebuilderLuc Pattyn9-Dec-07 7:13 
GeneralRe: control type Pin
George L. Jackson9-Dec-07 11:25
George L. Jackson9-Dec-07 11:25 
GeneralRe: control type Pin
Luc Pattyn9-Dec-07 12:13
sitebuilderLuc Pattyn9-Dec-07 12:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.