PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Sergio Tallone on October 21, 2011, 06:06:19 AM

Title: WebBrowser problem
Post by: Sergio Tallone on October 21, 2011, 06:06:19 AM
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



Title: Re: WebBrowser problem
Post by: David Kenny on October 21, 2011, 01:34:48 PM
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
Title: Re: WebBrowser problem
Post by: Sergio Tallone on October 24, 2011, 04:14:13 AM
David,
many thanks for your reply; now the sample compiles without problems.

Cheers

Sergio
Title: Re: WebBrowser problem
Post by: Rolf Brandt on October 24, 2011, 12:54:31 PM
Thanks too, David,

that came in handy. I had just run into the same problem.