1. shfolder.dll

I just reinstalled Windows 98 first edition, and tried to run my EU program.

But I got an error, after tracing it is because I don't have
"shfolder.dll". I need it for function "SHGetFolderPathA" to get paths
of special folders.

Do you have shfolder.dll in your system directory? I already have it
in other dir but just want to survey.

How to make a substitute for "SHGetFolderPathA" function?

Thanks!

new topic     » topic index » view message » categorize

2. Re: shfolder.dll

> I just reinstalled Windows 98 first edition, and tried to run my EU program.
> 
> But I got an error, after tracing it is because I don't have
> "shfolder.dll". I need it for function "SHGetFolderPathA" to get paths
> of special folders.
> 
> Do you have shfolder.dll in your system directory? I already have it
> in other dir but just want to survey.
> 
> How to make a substitute for "SHGetFolderPathA" function?

I have it \WINDOWS\System. Win98 SE. In shlobj.h, SHGetFolderPathA
is defined under
    #if (_WIN32_IE >= 0x0500)

this means it's only present when you have MSIE 5.0 or later.

    Martin

new topic     » goto parent     » topic index » view message » categorize

3. Re: shfolder.dll

Hi,

akusaya wrote:

> Thanks, it's right, but where is the program files dir (usually
> C:\Program files) ?
> [...]

Hm.. I don't know. Looking for "C:\Program files" in the registry
wouldn't be a good idea, because there are many entrys related to it.
So I tried the following (using Win 98, 1st edition):

- making directory "c:\pipapo"
- regedit > looking for "pipapo" -- not found, as expected
- tweakui > My Computer > Special Folders:
  setting %Program Files% to "c:\pipapo" (+ holding my breath  smile
- regedit > looking for pipapo -- found once,
    branch: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion
    entry : ProgramFilesDir = "C:\pipapo"

Unfortunately I'm not sure, if this finding can be generalized, but why
not? smile

Best regards,
Juergen


PS: Euphoria and this list are new to me. I wish to thank RDS very much
    for having created this both simple and powerful language, which is
    very elegant and flexible. At the moment, I'm beginning to gather
    some experience with it, and it seems to me, that Euphoria is the
    programming language, I always have been looking for. smile
    I am also very impressed by the "Euphoria community" and the
    archive, which e.g. make it much easier to write windows programs,
    let me use a parser generator (or try to understand how it works
    smile, let me deal with fuzzy sets, and.. and.. Thanks a lot!

new topic     » goto parent     » topic index » view message » categorize

4. Re: shfolder.dll

akusaya,

Yes, I have shfolder.dll in my system directory.

Dan Moyer

----- Original Message -----
From: <akusaya at gmx.net>
To: "EUforum" <EUforum at topica.com>
Subject: shfolder.dll


>
> I just reinstalled Windows 98 first edition, and tried to run my EU
program.
>
> But I got an error, after tracing it is because I don't have
> "shfolder.dll". I need it for function "SHGetFolderPathA" to get paths
> of special folders.
>
> Do you have shfolder.dll in your system directory? I already have it
> in other dir but just want to survey.
>
> How to make a substitute for "SHGetFolderPathA" function?
>
> Thanks!
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu