Re: Problem creating dialog with hosted browser control in dll
From: Adrian (adrian_at_xxx.xxx)
Date: 03/14/04
- Previous message: Adrian: "Re: Problem creating dialog with hosted browser control in dll"
- In reply to: Adrian: "Re: Problem creating dialog with hosted browser control in dll"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 14 Mar 2004 15:44:15 GMT
Sorry for wasting the bandwitch on this group. I added a call to
CoInitialize in the dll and that solved the problem.
Adrian
"Adrian" <adrian@xxx.xxx> wrote in message
news:rET4c.70955$vn.209562@sea-read.news.verio.net...
> Just to make sure that the problem is with the browser control, I set the
> dialog flag "no fail create" to true, and now the dialog box is created
all
> right, but the browser control never shows up.
> Adrian
>
> "Adrian" <adrian@xxx.xxx> wrote in message
> news:7RS4c.70948$vn.209967@sea-read.news.verio.net...
> > Hi,
> >
> > In my dll I have an object of a CDialog derived class, which should
hosts
> > the
> > browser control. The strange thing is that DoModal or Create on this
> object
> > fail when the browser control is hosted, but if I remove the browser
> control
> > from the dialog, the window shows up just fine. And yes, I called
> > AfxEnableControlContainer(). Similar code in an executable works. So it
> > looks like the combination dll + hosting the browser control is not
> working
> > in my case. Any ideas what I may be doing wrong?
> >
> > Any help will be greately appreciated
> >
> > Thanks,
> >
> > Adrian
> >
> >
>
>
- Previous message: Adrian: "Re: Problem creating dialog with hosted browser control in dll"
- In reply to: Adrian: "Re: Problem creating dialog with hosted browser control in dll"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|