|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB6 and HTMLHelp crashthere are reproducible instances where selecting help causes a blank help window to appear at which point the application goes 100% CPU bound and eats up memory for about 30 seconds and then crashes with: There is not enough memory available for this task. Quit one or more programs to increase available memory, and then try again. followed by an Application Error: The instruction at ... reference memory at ... The memory could not be "read". However, this behaviour does NOT occur when running the application in the IDE (except for one time which has proven to be unreproducible). As far as I can tell the creation of the help window and the display of the help file contents is handled completely by the HTMLHelp routine of hhctrl.ocx. Does anybody know of any reason why this kind of behaviour would occur? Any suggestions would be welcome. Thanks. Marc vb has the ability to produce a pdb file, you could do that and then attempt
production mode debugging. Show quoteHide quote "Marc Friedman" <MarcFried***@discussions.microsoft.com> wrote in message news:9134808F-652D-4903-B68E-C4C891FB7580@microsoft.com... >I have a VB6 application which uses HTMLHelp. When running the executable, > there are reproducible instances where selecting help causes a blank help > window to appear at which point the application goes 100% CPU bound and > eats > up memory for about 30 seconds and then crashes with: > > There is not enough memory available for this task. > Quit one or more programs to increase available memory, and then try > again. > > followed by an Application Error: > > The instruction at ... reference memory at ... The memory could not be > "read". > > However, this behaviour does NOT occur when running the application in the > IDE (except for one time which has proven to be unreproducible). As far > as I > can tell the creation of the help window and the display of the help file > contents is handled completely by the HTMLHelp routine of hhctrl.ocx. > Does > anybody know of any reason why this kind of behaviour would occur? Any > suggestions would be welcome. > > Thanks. > > Marc Thanks for the suggestion.
Show quoteHide quote "Bonj" wrote: > vb has the ability to produce a pdb file, you could do that and then attempt > production mode debugging. > > "Marc Friedman" <MarcFried***@discussions.microsoft.com> wrote in message > news:9134808F-652D-4903-B68E-C4C891FB7580@microsoft.com... > >I have a VB6 application which uses HTMLHelp. When running the executable, > > there are reproducible instances where selecting help causes a blank help > > window to appear at which point the application goes 100% CPU bound and > > eats > > up memory for about 30 seconds and then crashes with: > > > > There is not enough memory available for this task. > > Quit one or more programs to increase available memory, and then try > > again. > > > > followed by an Application Error: > > > > The instruction at ... reference memory at ... The memory could not be > > "read". > > > > However, this behaviour does NOT occur when running the application in the > > IDE (except for one time which has proven to be unreproducible). As far > > as I > > can tell the creation of the help window and the display of the help file > > contents is handled completely by the HTMLHelp routine of hhctrl.ocx. > > Does > > anybody know of any reason why this kind of behaviour would occur? Any > > suggestions would be welcome. > > > > Thanks. > > > > Marc > > > On Fri, 27 May 2005 10:17:21 -0700, "=?Utf-8?B?TWFyYyBGcmllZG1hbg==?="
<MarcFried***@discussions.microsoft.com> wrote: >I have a VB6 application which uses HTMLHelp. When running the executable, Probably bad HTML - replace the lot with something simple>there are reproducible instances where selecting help causes a blank help >window to appear at which point the application goes 100% CPU bound and eats >up memory for about 30 seconds and then crashes with: > >There is not enough memory available for this task. >Quit one or more programs to increase available memory, and then try again. Then, if my hunch is correct, look for a few HTML parsers - and let your help pages 'run the gauntlet' ie: check out the HTML through at least three parsers Personally I would delegate the Help function to a totally separate EXE - but that is a different matter Thanks for the suggestion.
Show quoteHide quote "J French" wrote: > On Fri, 27 May 2005 10:17:21 -0700, "=?Utf-8?B?TWFyYyBGcmllZG1hbg==?=" > <MarcFried***@discussions.microsoft.com> wrote: > > >I have a VB6 application which uses HTMLHelp. When running the executable, > >there are reproducible instances where selecting help causes a blank help > >window to appear at which point the application goes 100% CPU bound and eats > >up memory for about 30 seconds and then crashes with: > > > >There is not enough memory available for this task. > >Quit one or more programs to increase available memory, and then try again. > > Probably bad HTML - replace the lot with something simple > > Then, if my hunch is correct, look for a few HTML parsers > - and let your help pages 'run the gauntlet' > > ie: check out the HTML through at least three parsers > > Personally I would delegate the Help function to a totally separate > EXE - but that is a different matter >
Accelerating Extraction of Bits From Text
Form Failed to load control...Your version of ocx may be outdated.. Folder loading problem. Support Classic VB VB 6 and MS-Word question Quotation mark as string Package/Deployment Wizard how to pass over events in stacked objects? Can I develop VB6 App for windows CE? |
|||||||||||||||||||||||