Click here to Skip to main content
15,901,505 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How-To: Customize Desktop Pin
Super Lloyd16-Oct-06 13:49
Super Lloyd16-Oct-06 13:49 
GeneralRe: How-To: Customize Desktop Pin
Joan M16-Oct-06 20:37
professionalJoan M16-Oct-06 20:37 
GeneralRe: How-To: Customize Desktop Pin
Super Lloyd16-Oct-06 21:01
Super Lloyd16-Oct-06 21:01 
QuestionCListCtrl Pin
P1P3R15-Oct-06 11:31
P1P3R15-Oct-06 11:31 
AnswerRe: CListCtrl Pin
Michael Dunn15-Oct-06 18:56
sitebuilderMichael Dunn15-Oct-06 18:56 
GeneralRe: CListCtrl Pin
P1P3R15-Oct-06 20:51
P1P3R15-Oct-06 20:51 
AnswerRe: CListCtrl Pin
jipai18-Oct-06 6:36
jipai18-Oct-06 6:36 
QuestionHow to lauch threads really simultaneously? Pin
bouli15-Oct-06 8:51
bouli15-Oct-06 8:51 
AnswerRe: How to lauch threads really simultaneously? Pin
Michael Dunn15-Oct-06 9:05
sitebuilderMichael Dunn15-Oct-06 9:05 
GeneralRe: How to lauch threads really simultaneously? Pin
bouli15-Oct-06 20:39
bouli15-Oct-06 20:39 
GeneralRe: How to lauch threads really simultaneously? Pin
Mark Salsbery16-Oct-06 7:17
Mark Salsbery16-Oct-06 7:17 
QuestionMultiple instance of com object Pin
ayol1212215-Oct-06 8:24
ayol1212215-Oct-06 8:24 
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 
Hello.
We need to use UserControl components written in C# in our existing MFC application. The components need to be inserted into existing ActiveX controls (written using MFC and ATL as separate OCX files). The recommended way is to turn on the /CLR switch and use CWinFormsControl class. Using this approach I was able to insert a simple test component into one of our ActiveX controls and successfully build the OCX in Debug mode, however when running the application I noticed that when the app tries to create an instance of the modified ActiveX control it fails with the following error: ClassFactory cannot supply requested class. The same load failure occurs even when I completely removed the test component from the ActiveX control so it seems that the failure is caused by building with the /CLR switch. I also tried to build the ActiveX's StdAfx.cpp and the cpp file containing code for the ActiveX DLL (such as InitInstance and DLLRegisterServer) without the /CLR switch but it didn't help. The control is registered properly and w/o errors (at least that's what regsvr32 shows).

We use Visual Studio 2005, any help will be greatly appreciated. Thank you.
AnswerRe: MFC ActiveX built with /CLR fails to load Pin
sps-itsec4615-Dec-06 2:05
sps-itsec4615-Dec-06 2:05 
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 

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.