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

Managed C++/CLI

 
Questionrichtextbox Pin
rose19627-May-08 20:16
rose19627-May-08 20:16 
AnswerRe: richtextbox Pin
teejayem28-May-08 7:32
teejayem28-May-08 7:32 
QuestionSEHException Pin
Member 261650124-May-08 8:19
Member 261650124-May-08 8:19 
QuestionMenus in child forms Pin
wcurtiss23-May-08 4:46
wcurtiss23-May-08 4:46 
AnswerRe: Menus in child forms Pin
led mike23-May-08 5:22
led mike23-May-08 5:22 
GeneralRe: Menus in child forms Pin
wcurtiss23-May-08 5:45
wcurtiss23-May-08 5:45 
GeneralRe: Menus in child forms Pin
led mike23-May-08 6:29
led mike23-May-08 6:29 
QuestionVery fundamental question on scope in Visual C++ .NET C++/CLI programming [modified] Pin
aa1ww23-May-08 4:24
professionalaa1ww23-May-08 4:24 
I am writing a C++/CLI CLR Windows Forms application.

I'm able to write lots of evaluation programs and try out many features but I'm having trouble understanding how to architect my total application scope-wise.

I have one main form ( call it "Form1" ) and it may spawn some modal dialog boxes. In addition I want to create some classes, preferrably managed ref classes and refer to their methods and invoke their member functions from the event functions in Form1 (e.g. Form1_Load, button1_Click, etc.).

I'd like to code these ref classes in separate files. I also have an assembly from a third party which I've been able to use successfully (Galil motion controls DMCdNet.dll).

So my question: Is their a canonical way of coding managed C++/CLI ref classes in separate files in my Visual Studio project, instantiate those managed class objects (somewhere) and then be able to refer to them in the private member (event receiver) functions in Form1.h?

The books I've learned C++ from are:
- C++: How To Program by Deitel & Deitel (very early edition)
- Pro Visual C++ /CLI and the .NET Platform by Stephen G. Fraser

Jeff Cooper

modified on Friday, May 23, 2008 10:30 AM

AnswerRe: Very fundamental question on scope in Visual C++ .NET C++/CLI programming Pin
led mike23-May-08 4:41
led mike23-May-08 4:41 
GeneralRe: Very fundamental question on scope in Visual C++ .NET C++/CLI programming Pin
aa1ww23-May-08 5:36
professionalaa1ww23-May-08 5:36 
GeneralRe: Very fundamental question on scope in Visual C++ .NET C++/CLI programming Pin
led mike23-May-08 6:01
led mike23-May-08 6:01 
GeneralRe: Very fundamental question on scope in Visual C++ .NET C++/CLI programming Pin
led mike23-May-08 6:33
led mike23-May-08 6:33 
QuestionHow do you change the Build Action property of an icon? Pin
BuckBrown22-May-08 10:42
BuckBrown22-May-08 10:42 
AnswerRe: How do you change the Build Action property of an icon? Pin
led mike23-May-08 5:30
led mike23-May-08 5:30 
GeneralRe: How do you change the Build Action property of an icon? Pin
BuckBrown23-May-08 7:05
BuckBrown23-May-08 7:05 
GeneralRe: How do you change the Build Action property of an icon? Pin
led mike23-May-08 7:39
led mike23-May-08 7:39 
GeneralRe: How do you change the Build Action property of an icon? Pin
BuckBrown23-May-08 8:23
BuckBrown23-May-08 8:23 
GeneralRe: How do you change the Build Action property of an icon? Pin
led mike23-May-08 8:41
led mike23-May-08 8:41 
GeneralRe: How do you change the Build Action property of an icon? Pin
BuckBrown23-May-08 9:11
BuckBrown23-May-08 9:11 
GeneralRe: How do you change the Build Action property of an icon? Pin
BuckBrown23-May-08 12:07
BuckBrown23-May-08 12:07 
GeneralRe: How do you change the Build Action property of an icon? Pin
led mike27-May-08 4:37
led mike27-May-08 4:37 
QuestionWrapping MFC project to .net Pin
Fu Manchu22-May-08 0:34
Fu Manchu22-May-08 0:34 
AnswerRe: Wrapping MFC project to .net Pin
led mike22-May-08 4:34
led mike22-May-08 4:34 
GeneralRe: Wrapping MFC project to .net Pin
Fu Manchu22-May-08 4:56
Fu Manchu22-May-08 4:56 
GeneralRe: Wrapping MFC project to .net Pin
led mike22-May-08 10:15
led mike22-May-08 10:15 

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.