Search the web
Sign In
New User? Sign Up
delphi-webbrowser · Delphi: Using IE's WebBrowser

Group Information

  • Members: 2926
  • Category: Delphi
  • Founded: Mar 21, 1999
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

  Messages Help
Advanced
Problem with EmbeddedWB ???   Message List  
Reply Message #2214 of 10285 |
RE: [delphi-webbrowser] Problem with EmbeddedWB ???

Adam,

I believe it is, as this example web page (and a couple of others) crashed
my program with floating point exceptions, until I set this flag. I should
actually set this flag on and off in the BeforeNavigate/Download Complete
events instead of in the initialization code.

Delphi 5 help for Set8087cw says:

"The floating point unit control word controls the precision of floating
point calculations, the rounding mode, and whether certain floating point
operations trigger exceptions. See Intel's processor documentation for
details.

This routine allows the programmer to have direct access to the CW. Be aware
that using this routine to change the value of the 8087CW will change the
behavior of the program’s FP calculations. It is the programmer’s
responsibility to reset it.

It is recommended that you disable all floating point exceptions when using
OpenGL to render 3D graphics. To do this, call Set8087CW(0x133f) in your
main form’s OnCreate event before calling any OpenGL functions."

Regards, Ian

-----Original Message-----
From: adam@... [mailto:adam@...]
Sent: Tuesday, July 11, 2000 9:57 AM
To: delphi-webbrowser@egroups.com
Subject: RE: [delphi-webbrowser] Problem with EmbeddedWB ???


Hi Ian,

I thought that wasn't necessary in Delphi 5.

Adam

> -----Original Message-----
> From: Ian Bakker [mailto:ian@...]
> Sent: Tuesday, July 11, 2000 9:15 AM
> To: delphi-webbrowser@egroups.com
> Subject: RE: [delphi-webbrowser] Problem with EmbeddedWB ???
>
>
> Add the code:
>
> initialization
> Set8087cw($133f);
>
> to your main form.
>
> Regards, Ian
>
> -----Original Message-----
> From: Marc Budie [mailto:marc.budie@...]
> Sent: Tuesday, July 11, 2000 2:10 AM
> To: delphi-webbrowser@egroups.com
> Subject: [delphi-webbrowser] Problem with EmbeddedWB ???
>
>
> Hello,
>
>
> I have developed a new "browser" using EmbeddedWB. The product is
> about to be rolled out but I have still one big problem left.
> I have been able to track this problem down to a very basic program:
>
> I use EmbeddedWB to develop a basic browser. The only feature I
> implement is a button to be able to change the fontsize. Then to
> reproduce the error I do the following:
>
> 1) Press the font button a few times
> 2) Navigate to:
> http://www.posl.com/Templates/HomePage.asp?Article=6&View=2&Menu=0
> 3) Select one of the topics in the drop down menu
>
> Now the browser will crash with the following error:
>
> Exception EinvalidOp in module MSHTML.DLL.
>
>
> This error does not occur if I do the same from a by Visual Basic
> hosted browser or Internet Explorer itself.
>
> Does somebody know how to solve this?
>
> I am using:
> ===========
> - EmbeddedWB 1.12
> - Delphi 5 Enterprise
> - Window98 and Windows NT
> - IE 5.0
>
>
> Thanks in advance,
>
>
> Best regards,
>
> Marc Budie
>
>
> ------------------------------------------------------------------------
> Free, Unlimited Calls Anywhere!
> Visit Firetalk.com - click below.
> http://click.egroups.com/1/5479/11/_/7783/_/963306571/
> ------------------------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------
> Special Offer-Earn 300 Points from MyPoints.com for trying @Backup
> Get automatic protection and access to your important computer files.
> Install today:
> http://click.egroups.com/1/6347/11/_/7783/_/963333100/
> ------------------------------------------------------------------------
>
>

------------------------------------------------------------------------
Free, Unlimited Calls Anywhere!
Visit Firetalk.com - click below.
http://click.egroups.com/1/5479/11/_/7783/_/963334571/
------------------------------------------------------------------------





Tue Jul 11, 2000 5:12 pm

ian@...
Send Email Send Email

Message #2214 of 10285 |
Expand Messages Author Sort by Date

Hello, I have developed a new "browser" using EmbeddedWB. The product is about to be rolled out but I have still one big problem left. I have been able to...
Marc Budie
marc.budie@... Send Email
Jul 11, 2000
9:09 am

Add the code: initialization Set8087cw($133f); to your main form. Regards, Ian ... From: Marc Budie [mailto:marc.budie@...] Sent: Tuesday, July 11, 2000...
Ian Bakker
ian@... Send Email
Jul 11, 2000
4:31 pm

Hi Ian, I thought that wasn't necessary in Delphi 5. Adam...
adam@... Send Email Jul 11, 2000
4:55 pm

Adam, I believe it is, as this example web page (and a couple of others) crashed my program with floating point exceptions, until I set this flag. I should ...
Ian Bakker
ian@... Send Email
Jul 11, 2000
5:34 pm

Ian, Are sure that this works? Because I have tried this before and then I do not get the error any longer but the program will just be stopped without any...
Marc Budie
marc.budie@... Send Email
Jul 11, 2000
7:31 pm

I have same problem. when I go to http://orbita.starmedia.com/ and Press '!Registrate ahora!' for register and After I press the submit button, I get the error...
lookbook2000@... Send Email Jul 20, 2001
8:49 pm

... 11/07/00 17:00 ----- "Ian Bakker" <ian@... Para: <delphi-webbrowser@egroups.com> om> cc: Assunto: RE:...
italoalmeida@... Send Email Jul 11, 2000
8:19 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help