> oft.public.vc.language,microsoft.public.vc.ide_general
> Sent: Friday, April 27, 2001 3:35 PM
> Subject: Re: Access violation after HtmlHelp window closed
> > You must call Htmlhelp(0, HH_CLOSE_ALL, , ) before closing your
> application
> > or you get access violations.
> I do not use HH_CLOSE_ALL on application close and that works fine (no
> error).
> > Or is this really Alt+F4 on the actual HHH
> > Window?
> After I close HHH window I cannot access object created in DLL from main
> EXE.
> > If so are you opening help from the DLL? Try opening from the
Executable -
> > does it help? See some strange things when running HH from DLLs.
> I run HH from the main EXE.
> > --
> > Rob Chandler [MVP]
> > http://www.helpware.net
> > > Hi,
> > > I am calling HtmlHelp API from my VC++ application. Displaying the
help
> > > works fine but after I close HtmlHelp window (Alt+F4), I cannot access
> > > object created in external DLL (Multithreaded DLL) and error message
> "...
> > > access vialoation ..." appears on that object (in debug). I have tried
> to
> > > use HtmlHelp in both other thread and single thread (HH_INITIALIZE)
and
> my
> > > app behaves the same.
> > > I don't use MFC in my app.
> > > Many thanks if you can help
> > > --
> > > Miroslav ?ulc
> > > StartNet s.r.o.
> > > Softwarov oddlen
> > > --------------------------------------------------
> > > Vrchlickho 161/5, Praha 5, 150 00, Czech republic
> > > --------------------------------------------------
> > > tel.: +420 2 57225602
> > > fax: +420 2 57225592
> > > mob. tel.: +420 603 711413
> > > --------------------------------------------------
> > > Hlavn strnka: http://www.startnet.cz/
> > > Obchod: http://shop.startnet.cz/
> > > Software: http://software.startnet.cz/
> > > --------------------------------------------------