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

Managed C++/CLI

 
AnswerRe: Casting problem (String* to LPCVOID) Pin
Michael Dunn20-Jul-06 5:58
sitebuilderMichael Dunn20-Jul-06 5:58 
QuestionSearching through a file [modified] Pin
Mphot19-Jul-06 21:56
Mphot19-Jul-06 21:56 
AnswerRe: Searching through a file Pin
NrmMyth20-Jul-06 0:51
NrmMyth20-Jul-06 0:51 
QuestionConvert COM component to C++ managed Assembly Pin
Paul Farry18-Jul-06 20:52
professionalPaul Farry18-Jul-06 20:52 
QuestionProblems adding textbox data into sql String Pin
vincent7_618-Jul-06 13:49
vincent7_618-Jul-06 13:49 
AnswerRe: Problems adding textbox data into sql String Pin
led mike18-Jul-06 17:35
led mike18-Jul-06 17:35 
AnswerRe: Problems adding textbox data into sql String Pin
Eric Dahlvang24-Jul-06 12:16
Eric Dahlvang24-Jul-06 12:16 
QuestionCommunicating with top level form Pin
mrhonus18-Jul-06 5:59
mrhonus18-Jul-06 5:59 
Using the designer to create the main form for an application generated the following code in the .cpp file:

int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
System::Threading::Thread::CurrentThread->ApartmentState = System::Threading::ApartmentState::STA;
Application::Run(new DataForm(lpCmdLine));
return 0;
}

The DataForm class has a button which generates a new form:

linkedForm = new LinkedForm() ;

The LinkedForm class exists in the same namespace as the DataForm class.

What needs to be done to allow this child form to see public methods in it's parent, since a DataForm ptr cannot be declared globally? Are there any examples of parent/child form communications of this nature?


Thanks,
MrHonus

AnswerRe: Communicating with top level form Pin
led mike18-Jul-06 6:51
led mike18-Jul-06 6:51 
GeneralRe: Communicating with top level form Pin
mrhonus18-Jul-06 7:39
mrhonus18-Jul-06 7:39 
GeneralRe: Communicating with top level form Pin
led mike18-Jul-06 8:38
led mike18-Jul-06 8:38 
GeneralRe: Communicating with top level form Pin
mrhonus18-Jul-06 9:17
mrhonus18-Jul-06 9:17 
GeneralRe: Communicating with top level form Pin
led mike18-Jul-06 9:36
led mike18-Jul-06 9:36 
GeneralRe: Communicating with top level form Pin
mrhonus18-Jul-06 10:32
mrhonus18-Jul-06 10:32 
GeneralRe: Communicating with top level form Pin
led mike18-Jul-06 11:01
led mike18-Jul-06 11:01 
QuestionCall java from C++ Pin
Vamp18-Jul-06 1:36
Vamp18-Jul-06 1:36 
AnswerRe: Call java from C++ Pin
MonjSam21-Jul-06 13:14
MonjSam21-Jul-06 13:14 
Questionabout Event Handler Pin
mertadin16-Jul-06 23:34
mertadin16-Jul-06 23:34 
QuestionHow to embed a resource in the assembly? Pin
Super Lloyd13-Jul-06 19:57
Super Lloyd13-Jul-06 19:57 
AnswerRe: How to embed a resource in the assembly? Pin
Super Lloyd13-Jul-06 20:05
Super Lloyd13-Jul-06 20:05 
QuestionVC7 Preprocessor variables not working. Pin
Dave_Roach13-Jul-06 1:43
Dave_Roach13-Jul-06 1:43 
QuestionRe: VC7 Preprocessor variables not working. Pin
Jun Du13-Jul-06 2:10
Jun Du13-Jul-06 2:10 
AnswerRe: VC7 Preprocessor variables not working. Pin
Dave_Roach13-Jul-06 3:08
Dave_Roach13-Jul-06 3:08 
GeneralRe: VC7 Preprocessor variables not working. [modified] Pin
Sebastian Schneider13-Jul-06 22:09
Sebastian Schneider13-Jul-06 22:09 
AnswerRe: VC7 Preprocessor variables not working. Pin
Jonathan [Darka]13-Jul-06 4:10
professionalJonathan [Darka]13-Jul-06 4:10 

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.