1. Re: internet game

>thanks, but no luck.  I suspect it was the IE that let explorer link up.

     sad   Well at least now I know that isn't a reliable way to do it...

>I guess now I'll have to include a setup program/option and acompanying ini
>file, but I'd have to do that for the win 3.xers anyway.  one more try
>though; does anyone know where win95 keeps its record of the pathnames for
>this sort of thing, or any other way to gain access to this information?
>other programs have to do it somehow.

     It keeps it's record split between two dynamic data files called the
registry.  Under HKEY_CLASSES_ROOT there should be folders for HTTP, mailto,
and the rest of 'em down below the file types.  Inside each protocol's
folder should be a folder called "shell", inside that is a folder called
"open", inside that is a folder called "command".
So the key would be "HKEY_CLASSES_ROOT\HTTP\shell\open\command"  The value
of the key is the command line in quotes, to which the url would be passed.

***  Warning here, tampering with the registry is known to corrupt Windows,
often requiring a full reinstall.  Don't mess with it unless you know what
you're doing.  I know from experience.  smile  (26 reinstalls)

The Windows API provides a safe (hopefully) way to read registry keys
directly...Yeah, here it is...

The RegQueryValue function retrieves the value for a specified key in the
registry.  But first you have to use the RegOpenKey function to open it with
the read access rights...  Those are Win3.1 functions, but they work with
Win95 and NT also...Alternatively you could use the Win32 versions of the
functions which don't work with Win3.1.

    You need a Windows API reference and to know how to call windows C++
functions from Euphoria...or you could make a setup program.  smile

Hope that helps,
even though I don't really know an easy way to do it.

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu