Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to forbid the user to terminate my program. Pin
Hamid_RT21-Jul-06 23:37
Hamid_RT21-Jul-06 23:37 
AnswerRe: How to forbid the user to terminate my program. Pin
Maxwell Chen22-Jul-06 7:41
Maxwell Chen22-Jul-06 7:41 
QuestionTextbox selection color Pin
Fernando A. Gomez F.21-Jul-06 14:08
Fernando A. Gomez F.21-Jul-06 14:08 
AnswerRe: Textbox selection color Pin
Richard Andrew x6421-Jul-06 18:44
professionalRichard Andrew x6421-Jul-06 18:44 
AnswerRe: Textbox selection color Pin
James Brown21-Jul-06 21:45
James Brown21-Jul-06 21:45 
AnswerRe: Textbox selection color Pin
Hamid_RT21-Jul-06 23:37
Hamid_RT21-Jul-06 23:37 
QuestionC# to C++ inter operating Pin
SameepSheth12365421-Jul-06 10:48
SameepSheth12365421-Jul-06 10:48 
AnswerRe: C# to C++ inter operating Pin
DavidR_r21-Jul-06 20:30
DavidR_r21-Jul-06 20:30 
First, you should understand rhe idea: you are tring to run unmanaged code in the manged framework. Thus, the MangedWrapper is an adaptor between the codes which by one side obeys the rules of the managed framework but is capable wrap the unmanaged code and make it managed too. So, the managed apllication calls the wrapper which calls the unmanaged code. In other words the managed code should "know" the Wrapper and the Wrapper should know the "unmanaged" and not the other direction. When you want to extend the managed appliction and to intorduce new classes you should insert the refference to the assembly (or dll in other words)in the project of the mannged application. On the other hnd the wrapper includes the h file of the unmanaged class.
2) When you create a new project choose Visula C++ project category and then Managed C++ class

I hope this helps you

DavidR

QuestionGetPrivateProfileSectionName won't work in VC++.NET 2002 [modified] Pin
Roj21-Jul-06 10:29
Roj21-Jul-06 10:29 
AnswerRe: GetPrivateProfileSectionName won't work in VC++.NET 2002 Pin
Richard Andrew x6421-Jul-06 18:36
professionalRichard Andrew x6421-Jul-06 18:36 
GeneralRe: GetPrivateProfileSectionName won't work in VC++.NET 2002 [modified] Pin
Roj21-Jul-06 19:01
Roj21-Jul-06 19:01 
GeneralRe: GetPrivateProfileSectionName won't work in VC++.NET 2002 [modified] Pin
Roj21-Jul-06 19:29
Roj21-Jul-06 19:29 
QuestionWriting a Windows Service: Need it to start in Safe Mode Pin
chlimouj21-Jul-06 7:26
chlimouj21-Jul-06 7:26 
AnswerRe: Writing a Windows Service: Need it to start in Safe Mode Pin
Zac Howland21-Jul-06 9:17
Zac Howland21-Jul-06 9:17 
QuestionTraversing treeview nodes in VC++ .NET Pin
Scorpion_guy21-Jul-06 7:13
Scorpion_guy21-Jul-06 7:13 
AnswerRe: Traversing treeview nodes in VC++ .NET Pin
Joe Woodbury21-Jul-06 18:02
professionalJoe Woodbury21-Jul-06 18:02 
QuestionCan I change my project name after creating it ? Pin
Cyber Friend21-Jul-06 5:26
Cyber Friend21-Jul-06 5:26 
GeneralRe: Can I change my project name after creating it ? Pin
David Crow21-Jul-06 5:52
David Crow21-Jul-06 5:52 
AnswerRe: Can I change my project name after creating it ? [modified] Pin
baloneyman21-Jul-06 8:20
baloneyman21-Jul-06 8:20 
GeneralRe: Can I change my project name after creating it ? Pin
Cyber Friend22-Jul-06 3:56
Cyber Friend22-Jul-06 3:56 
GeneralRe: Can I change my project name after creating it ? Pin
baloneyman22-Jul-06 22:08
baloneyman22-Jul-06 22:08 
GeneralRe: Can I change my project name after creating it ? Pin
Cyber Friend24-Jul-06 2:43
Cyber Friend24-Jul-06 2:43 
AnswerRe: Can I change my project name after creating it ? [modified] Pin
A_Fa21-Jul-06 19:57
A_Fa21-Jul-06 19:57 
QuestionVisual Studio 2005 & ClassWizard Pin
flippydeflippydebop21-Jul-06 5:22
flippydeflippydebop21-Jul-06 5:22 
AnswerRe: Visual Studio 2005 & ClassWizard Pin
Zac Howland21-Jul-06 5:26
Zac Howland21-Jul-06 5:26 

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.