Click here to Skip to main content
15,916,693 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to post a message to main frame of singledocument app from a static function? Pin
freehawk10-Mar-04 0:22
freehawk10-Mar-04 0:22 
GeneralRe: How to post a message to main frame of singledocument app from a static function? Pin
Robert A. T. Káldy10-Mar-04 0:27
Robert A. T. Káldy10-Mar-04 0:27 
GeneralRe: How to post a message to main frame of singledocument app from a static function? Pin
freehawk10-Mar-04 20:20
freehawk10-Mar-04 20:20 
Generalusing managed class in VC++ .Net Pin
Jain Mohit9-Mar-04 23:04
Jain Mohit9-Mar-04 23:04 
GeneralRe: using managed class in VC++ .Net Pin
Antti Keskinen10-Mar-04 1:04
Antti Keskinen10-Mar-04 1:04 
GeneralRe: using managed class in VC++ .Net Pin
Jain Mohit10-Mar-04 1:30
Jain Mohit10-Mar-04 1:30 
GeneralRe: using managed class in VC++ .Net Pin
Antti Keskinen10-Mar-04 10:18
Antti Keskinen10-Mar-04 10:18 
GeneralRe: using managed class in VC++ .Net Pin
Antti Keskinen10-Mar-04 11:48
Antti Keskinen10-Mar-04 11:48 
Correction to my earlier post. The reason your application causes an assertion is because it cannot determine where the control resides. In order to solve this, use a fully qualified name of the control.

For an idea, consider if m_NetForm was a __gc wrapper for type System::Windows::Forms* and would then be instantated as a form object by calling m_NetForm = new System::Windows::Forms();

Does this solve the issue ?

I tried to create a simple example application. It uses the .Net Framework 1.1 to create a file writer object (StreamWriter) and writes a single line into the file. You can download the sources and a working executable from here[^]. The text file is created into the same directory from which the application is ran.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: using managed class in VC++ .Net Pin
Jain Mohit10-Mar-04 18:35
Jain Mohit10-Mar-04 18:35 
GeneralEM_GETTEXTEX Pin
ckdix9-Mar-04 22:55
sussckdix9-Mar-04 22:55 
GeneralRe: EM_GETTEXTEX Pin
vikramlinux9-Mar-04 23:36
vikramlinux9-Mar-04 23:36 
GeneralWindow Regions Pin
krayakin9-Mar-04 21:47
krayakin9-Mar-04 21:47 
GeneralRe: Window Regions Pin
Prakash Nadar10-Mar-04 3:10
Prakash Nadar10-Mar-04 3:10 
GeneralRe: Window Regions Pin
krayakin10-Mar-04 13:02
krayakin10-Mar-04 13:02 
QuestionI want to post a message to the main frame of singledocument window, how to do? Pin
freehawk9-Mar-04 21:05
freehawk9-Mar-04 21:05 
AnswerRe: I want to post a message to the main frame of singledocument window, how to do? Pin
l a u r e n9-Mar-04 21:37
l a u r e n9-Mar-04 21:37 
GeneralRe: I want to post a message to the main frame of singledocument window, how to do? Pin
freehawk9-Mar-04 21:49
freehawk9-Mar-04 21:49 
GeneralRe: I want to post a message to the main frame of singledocument window, how to do? Pin
Prakash Nadar9-Mar-04 21:57
Prakash Nadar9-Mar-04 21:57 
QuestionHow do I Read Registry Value? Pin
.NetRams9-Mar-04 20:27
.NetRams9-Mar-04 20:27 
AnswerRe: How do I Read Registry Value? Pin
Antti Keskinen9-Mar-04 20:46
Antti Keskinen9-Mar-04 20:46 
AnswerRe: How do I Read Registry Value? Pin
Prakash Nadar9-Mar-04 21:29
Prakash Nadar9-Mar-04 21:29 
GeneralAdapter in promicious mode Pin
Imtiaz Murtaza9-Mar-04 19:20
Imtiaz Murtaza9-Mar-04 19:20 
Generalfatal error: cannot open program database vc60.pdb Pin
VCis Hard9-Mar-04 19:12
VCis Hard9-Mar-04 19:12 
GeneralRe: fatal error: cannot open program database vc60.pdb Pin
Prakash Nadar9-Mar-04 21:30
Prakash Nadar9-Mar-04 21:30 
GeneralRe: fatal error: cannot open program database vc60.pdb Pin
VCis Hard9-Mar-04 22:08
VCis Hard9-Mar-04 22:08 

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.