Click here to Skip to main content
15,892,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionC++ MDI and CreateProcess Pin
Christopher Stratmann25-Sep-06 4:07
Christopher Stratmann25-Sep-06 4:07 
AnswerRe: C++ MDI and CreateProcess Pin
led mike25-Sep-06 4:34
led mike25-Sep-06 4:34 
GeneralRe: C++ MDI and CreateProcess Pin
Christopher Stratmann25-Sep-06 4:53
Christopher Stratmann25-Sep-06 4:53 
GeneralRe: C++ MDI and CreateProcess Pin
led mike25-Sep-06 5:23
led mike25-Sep-06 5:23 
GeneralRe: C++ MDI and CreateProcess Pin
Christopher Stratmann25-Sep-06 5:38
Christopher Stratmann25-Sep-06 5:38 
GeneralRe: C++ MDI and CreateProcess Pin
led mike25-Sep-06 5:54
led mike25-Sep-06 5:54 
GeneralRe: C++ MDI and CreateProcess Pin
Christopher Stratmann25-Sep-06 6:40
Christopher Stratmann25-Sep-06 6:40 
GeneralRe: C++ MDI and CreateProcess Pin
led mike25-Sep-06 7:15
led mike25-Sep-06 7:15 
chris175 wrote:
C# Forms created in Visual Studio 8.0 in a C++ application in Visual Studio 6.0.


Try this:

Create a mixed mode VC++ 8.0 DLL project with MFC support. This project will export a C++ class, in this discussion we call it "foo".

In the DLL You can create a window or dialog using things like CWinFormsView[^] or CWinFormsDialog etc.

Then in the VC6 project use the new DLL and import the C++ class "foo". Using the interface provided by "foo" the new VC8 DLL will create the window and collect the data from the user. The data can be exposed through the plain C++ class "foo" to communicate between the VC6 project and the VC8 DLL.


led mike

GeneralRe: C++ MDI and CreateProcess Pin
Christopher Stratmann25-Sep-06 7:22
Christopher Stratmann25-Sep-06 7:22 
GeneralRe: C++ MDI and CreateProcess Pin
led mike25-Sep-06 7:51
led mike25-Sep-06 7:51 
GeneralRe: C++ MDI and CreateProcess Pin
sps-itsec4615-Dec-06 1:53
sps-itsec4615-Dec-06 1:53 
GeneralRe: C++ MDI and CreateProcess Pin
Christopher Stratmann25-Sep-06 7:22
Christopher Stratmann25-Sep-06 7:22 
AnswerRe: C++ MDI and CreateProcess Pin
led mike25-Sep-06 8:06
led mike25-Sep-06 8:06 
Questionsizeof(MyArray) returns wrong number Pin
Mr.Brainley25-Sep-06 3:55
Mr.Brainley25-Sep-06 3:55 
AnswerRe: sizeof(MyArray) returns wrong number Pin
prasad_som25-Sep-06 4:14
prasad_som25-Sep-06 4:14 
AnswerRe: sizeof(MyArray) returns wrong number Pin
toxcct25-Sep-06 4:54
toxcct25-Sep-06 4:54 
AnswerRe: sizeof(MyArray) returns wrong number Pin
Zac Howland25-Sep-06 5:37
Zac Howland25-Sep-06 5:37 
AnswerRe: sizeof(MyArray) returns wrong number Pin
Zodiacon25-Sep-06 6:57
Zodiacon25-Sep-06 6:57 
QuestionDialog Control Border Problem Pin
Tracy Hanahan25-Sep-06 3:51
Tracy Hanahan25-Sep-06 3:51 
QuestionA Simple Namespace Extension Question... Pin
Dave Kerr25-Sep-06 3:40
Dave Kerr25-Sep-06 3:40 
QuestionPassing CLR array to native function Pin
flackjack25-Sep-06 3:20
flackjack25-Sep-06 3:20 
AnswerRe: Passing CLR array to native function Pin
led mike25-Sep-06 4:42
led mike25-Sep-06 4:42 
GeneralRe: Passing CLR array to native function Pin
flackjack25-Sep-06 14:37
flackjack25-Sep-06 14:37 
GeneralRe: Passing CLR array to native function Pin
flackjack27-Sep-06 13:47
flackjack27-Sep-06 13:47 
QuestionCrash when a modal dialog is opened !! Pin
hatemtaleb25-Sep-06 3:19
hatemtaleb25-Sep-06 3:19 

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.