Click here to Skip to main content
15,894,106 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Multiple instance of com object Pin
tanvon malik15-Oct-06 14:39
tanvon malik15-Oct-06 14:39 
GeneralRe: Multiple instance of com object Pin
ayol1212216-Oct-06 6:56
ayol1212216-Oct-06 6:56 
QuestionPolymorphic classes Pin
Waldermort15-Oct-06 6:31
Waldermort15-Oct-06 6:31 
AnswerRe: Polymorphic classes Pin
Gary R. Wheeler15-Oct-06 6:44
Gary R. Wheeler15-Oct-06 6:44 
GeneralRe: Polymorphic classes Pin
Waldermort15-Oct-06 14:21
Waldermort15-Oct-06 14:21 
AnswerRe: Polymorphic classes Pin
Jörgen Sigvardsson15-Oct-06 8:45
Jörgen Sigvardsson15-Oct-06 8:45 
QuestionMFC ActiveX built with /CLR fails to load Pin
DnKostya15-Oct-06 5:50
DnKostya15-Oct-06 5:50 
AnswerRe: MFC ActiveX built with /CLR fails to load Pin
sps-itsec4615-Dec-06 2:05
sps-itsec4615-Dec-06 2:05 
Have you been successful on using a C# UserControl with an unmanaged MFC ActiveX host container?

Similar to you, we need to use a C# UserControl and expose it as an ActiveX control. As far as I can see there are some completely different approaches. One would be using an unmanaged MFC ActiveX as host container for the Windows Forms control. And then using CWinFormsDialog or CWinFormsView to host the Windows Forms control. Another approach would be to rebuild the complete ActiveX interfaces with C# and expose it directly to COM.

We tried approach one and have some major problems. We created the MFC ActiveX host container which works and currently displays an empty CDialog. Now, when turning on Common Language Runtime support (/clr), Visual Studio 2005 locks up when loading the project. 100% reproducible... turning of '/clr' everything works, turning it on VS2005 locks up while loading the project without any error message, it just hangs while loading CLR dlls like 'mscoree.dll', 'mscorwks.dll'.

Any help would be appreciated... thanks in advance!


cheers,
mykel

If they give you lined paper, write the other way!

QuestionHow to Separate Interface and concrete class to 2 DLLs in C++ Pin
Julia115-Oct-06 4:02
Julia115-Oct-06 4:02 
AnswerRe: How to Separate Interface and concrete class to 2 DLLs in C++ Pin
Gary R. Wheeler15-Oct-06 6:38
Gary R. Wheeler15-Oct-06 6:38 
QuestionRe: How to Separate Interface and concrete class to 2 DLLs in C++ Pin
Julia116-Oct-06 3:19
Julia116-Oct-06 3:19 
AnswerRe: How to Separate Interface and concrete class to 2 DLLs in C++ Pin
Gary R. Wheeler16-Oct-06 13:02
Gary R. Wheeler16-Oct-06 13:02 
QuestionHow do you use combo boxes with a Doc View SDI Application Pin
D_code_writer15-Oct-06 3:10
D_code_writer15-Oct-06 3:10 
AnswerRe: How do you use combo boxes with a Doc View SDI Application Pin
cje16-Oct-06 4:37
cje16-Oct-06 4:37 
AnswerRe: How do you use combo boxes with a Doc View SDI Application Pin
Mark Salsbery16-Oct-06 7:32
Mark Salsbery16-Oct-06 7:32 
AnswerRe: How do you use combo boxes with a Doc View SDI Application Pin
D_code_writer16-Oct-06 21:54
D_code_writer16-Oct-06 21:54 
GeneralRe: How do you use combo boxes with a Doc View SDI Application Pin
Mark Salsbery17-Oct-06 6:13
Mark Salsbery17-Oct-06 6:13 
QuestionHow to use "Connection: Keep-Alive" header Pin
zzattack15-Oct-06 2:12
zzattack15-Oct-06 2:12 
AnswerRe: How to use "Connection: Keep-Alive" header Pin
Michael Dunn15-Oct-06 9:03
sitebuilderMichael Dunn15-Oct-06 9:03 
GeneralRe: How to use "Connection: Keep-Alive" header Pin
zzattack15-Oct-06 9:59
zzattack15-Oct-06 9:59 
QuestionHow to set the cursor on an EditBox? Pin
sir_moreno15-Oct-06 1:16
sir_moreno15-Oct-06 1:16 
AnswerRe: How to set the cursor on an EditBox? Pin
Mark Salsbery15-Oct-06 8:10
Mark Salsbery15-Oct-06 8:10 
Questionan existing efficient matrix multiplication algorithm? Pin
George_George15-Oct-06 1:10
George_George15-Oct-06 1:10 
QuestionLinking with Visual Studio 2003 ??? Pin
thedp15-Oct-06 0:31
thedp15-Oct-06 0:31 
AnswerRe: Linking with Visual Studio 2003 ??? Pin
Christian Graus15-Oct-06 0:48
protectorChristian Graus15-Oct-06 0:48 

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.