Bug #7985 Cannot launch QB on WinNT 4.0 sp6a (InternetGetConnectedState Not Found)
Submitted: 18 Jan 2005 12:18 Modified: 19 Jan 2005 21:02
Reporter: Rolf Sponsel Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.1.5 OS:Microsoft Windows (Windows NT 4.0 sp6a)
Assigned to: CPU Architecture:Any

[18 Jan 2005 12:18] Rolf Sponsel
Description:
Attempting to launch MySQLQueryBrowser.exe, on Windows NT4.0 sp6a WS,
fails with the error message below being displayed in the popup window:

"The procedure entry point IntenetGetConnectedState could not be located
 in the dynamic link library wininet.dll."

There is a wininet.dll (4.70.1300) in the system directory (i.e. in ../System32/).

Does MySQL Query Browser depend on Internet Explorer, which I don't use?
(I guess it shouldn't, because the Linux version doesn't - does it?)

In contrast, MySQL Administrator launches just fine.

Best Regards,
Rolf Sponsel

How to repeat:
1). Install Query Browser (Microsoft Installer [MSI] version).
2). Double-click the Query Browser link found on the Desktop.
3). The Error Pop-up is now displayed.
[19 Jan 2005 21:02] Michael G. Zinner
MySQL Query Browser uses a HTML control to show inline help. This is based on IE. So you need IE 6.0 installed on the system.

I can understand the issue because it is much more secure to use Firefox. But I sadly cannot offer a simple solution to that. The only way would be to compile a custom version without the HTML component but you would need Delphi and MS VC++ for that.
[19 Jan 2005 21:40] Rolf Sponsel
Any chance of succeeding by just replacing a few ddls, i.e. copying them
from a WinNT machine with  IE6 installed? Or are they too deply nested?

In the long run, I honestly believe that the Query Browser should not
rely on having Internet Explorer installed when running on Windows.
This is just my opinion though. Open Source relying on Internet Explorer!!!?

Wouldn't it be more suitable to port the Linux release of the Query Browser,
based on GTK2+(?), to Windows; as has been done for e.g. Gimp, Gaim,
Ethereal etc.

OFF-TOPIC: Is it possible to compile the Query Browser on a SPARC,
with a gcc compiled GNOME 2.2/2.4 desktop? That would give me a
appealing solution that, at least, I could live with for a while.
[23 Jan 2005 15:15] Alexandru Mihai Bîrsan
What browser does MySQL QB rely on when running on Linux?

For real, relying on Internet Explorer is not a good idea. First of all it is not free software, as Rolf Sponsel stated, and second of all it is one of the worst browsers and which everybody complaints about.

Mozilla offers a embedding solution. I don't know if it's the best solution, as the installation filesize might grow, but it would be a little better... Here's the URL:
http://www.mozilla.org/projects/embedding/