Click here to Skip to main content
15,914,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Compare structures Pin
Bryan Pietrzak15-Jun-01 3:59
Bryan Pietrzak15-Jun-01 3:59 
GeneralCListCtrl tooltips behind the dialog box Pin
Monty14-Jun-01 1:31
Monty14-Jun-01 1:31 
GeneralRe: CListCtrl tooltips behind the dialog box Pin
Tomasz Sowinski14-Jun-01 2:02
Tomasz Sowinski14-Jun-01 2:02 
GeneralThanks. How to stop dialog losing focus? Pin
Monty14-Jun-01 2:27
Monty14-Jun-01 2:27 
GeneralGot it sorted... Pin
Monty14-Jun-01 3:00
Monty14-Jun-01 3:00 
GeneralTestPrint page Pin
ThomasKennedyBose14-Jun-01 0:58
ThomasKennedyBose14-Jun-01 0:58 
GeneralProblem with Device Manager Property Page Pin
DB13-Jun-01 22:48
DB13-Jun-01 22:48 
Generalactivex + dll problem Pin
13-Jun-01 22:28
suss13-Jun-01 22:28 
Hello!

I'm trying to create a MFC dll that makes use of MS WebBrowser activeX
component. Another application loads the library runtime and calls certain
function that creates a dialog box with an explorer control. When creating
the dialog box, however, the initialization of browser control fails,
reporting

CoCreateInstance of OLE control {8856F961-340A-11D0-A96B-00C04FD705A2}
failed.
>>> Result code: 0x800401f0
>>> Is the control is properly registered?
Warning: CreateDlgControls failed during dialog init.

In the dll initialization, I call AfxEnableControlContainer().
If I build an EXE that creates a simple dialog with explorer control, it
runs just fine, but if I try to use it in a DLL, things don't work out.

Any ideas how to make it work?


GeneralRe: activex + dll problem Pin
DVryce12-Jul-01 2:54
DVryce12-Jul-01 2:54 
GeneralCListCtrl Pin
sankar13-Jun-01 21:32
sankar13-Jun-01 21:32 
GeneralRe: CListCtrl Pin
Leo Davidson14-Jun-01 7:21
Leo Davidson14-Jun-01 7:21 
GeneralFaxing Pin
ThomasKennedyBose13-Jun-01 18:22
ThomasKennedyBose13-Jun-01 18:22 
GeneralPatching Pin
Cabadam13-Jun-01 16:22
Cabadam13-Jun-01 16:22 
GeneralRe: Patching Pin
Peter Pearson14-Jun-01 3:18
Peter Pearson14-Jun-01 3:18 
GeneralRe: Patching Pin
Cabadam14-Jun-01 10:35
Cabadam14-Jun-01 10:35 
GeneralConversion Pin
Matt Newman13-Jun-01 15:44
Matt Newman13-Jun-01 15:44 
GeneralWin9X and NT compatibility problem Pin
13-Jun-01 11:05
suss13-Jun-01 11:05 
GeneralRe: Win9X and NT compatibility problem Pin
Michael Dunn13-Jun-01 12:50
sitebuilderMichael Dunn13-Jun-01 12:50 
GeneralRe: Win9X and NT compatibility problem Pin
13-Jun-01 13:00
suss13-Jun-01 13:00 
GeneralRe: Win9X and NT compatibility problem Pin
Anders Molin14-Jun-01 2:55
professionalAnders Molin14-Jun-01 2:55 
Questionon screen drawing in other fullscreen applications? Pin
13-Jun-01 9:37
suss13-Jun-01 9:37 
Generalnewlines Pin
bo13-Jun-01 9:15
bo13-Jun-01 9:15 
GeneralDocument Opening Pin
Jim Hewitt13-Jun-01 9:11
Jim Hewitt13-Jun-01 9:11 
GeneralRe: Document Opening Pin
Chris Meech13-Jun-01 9:21
Chris Meech13-Jun-01 9:21 
QuestionAnybody Know About C Builder? Pin
Carlos Antollini13-Jun-01 9:06
Carlos Antollini13-Jun-01 9:06 

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.