WebBrowser problem

Started by Sergio Tallone, October 21, 2011, 06:06:19 AM

Previous topic - Next topic

Sergio Tallone

Hi Paul,

I would like to report a problem I encountered using the latest version of Firefly (3.5). I tried to compile the examples provided with the installation and all worked fine except for that of the web browser that crashes giving me this error message:
QuoteError 468 in C:\PROGRAMMI\FIREFLY VISUAL DESIGNER 35\PROJECTS\EXAMPLES\WEBBROWSER\RELEASE\CODEGEN_WEBBROWSER_DECLARES.INC(10:043):  This equate may not be redefined
   Line 10: $PROGID_WebBrowser_V1 = "Shell.Explorer.1"
A likey conflict is in C:\ROCAINCLUDES\EXDISP.INC:
   Line 48: $PROGID_WebBrowser_V1 = "Shell.Explorer"

I use Windows XP Pro SP3, PBWIN 10.02 and I've  installed the new version of Firefly after removing the old. The include files of Jose Roca are the latest version (Winapi_II_004).

Any suggestions?

Thanks!

Sergio




David Kenny

Hello Sergio,

Comment out (or delete) this line in the modWebBrowserInterfaces.inc module:
$PROGID_WebBrowser_V1 = "Shell.Explorer.1"

And this one, 17 lines below:
$PROGID_WebBrowser_V11 = "Shell.Explorer"

By the way, you were getting a compiler error message.  And that indicates a problem in the source code. Nothing crashed.  The program you were compiling was never created.

David

Sergio Tallone

David,
many thanks for your reply; now the sample compiles without problems.

Cheers

Sergio

Rolf Brandt

Thanks too, David,

that came in handy. I had just run into the same problem.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)