Click here to Skip to main content
15,910,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to post a message to main frame of singledocument app from a static function? Pin
Robert A. T. Káldy9-Mar-04 23:56
Robert A. T. Káldy9-Mar-04 23:56 
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 
Have you added the compiled C# class library DLL as a #using directive into the project ? The exception is caused by the CLR not being able to find the target assembly, and the exception is not shown unless you try to create the control.

Also, remember that after you've changed the project settings, all functions are compiled as managed by default. This means that you must add #pragma unmanaged statemets to capsulate those classes and functions that are not managed, but should be compiled as native.

I'll try to create a test project that uses a control from here in CodeProject and see what comes up. Perhaps I can then help you more, when I've seen the code in action.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: using managed class in VC++ .Net Pin
Antti Keskinen10-Mar-04 11:48
Antti Keskinen10-Mar-04 11:48 
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 

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.