>>Hi Ed,
>> You probably knew I was going to ask this: is there an API I can use to get an appropriate subdirectory on the Windows path?
>> I am working with George Tasker's LnkFiles.DLL which contains a call to such an API; unfortunately, it is the same dll that I am trying to load.
>> Oh well, since I need to support Win/NT 4.0, probably all flavors of 9.5x and Win2000, it is probably getting too complicated to be worthwhile. Perhaps I should just use the kludge I described in the previous message. What do you think?
>> Thanks, Chaim
>
>Yes. GetSystemDirectory. You can get a VFP example from the WinAPI section.
You can also use SHGetFolderPath(), which handles the issue of side-by-side version installs; it's preferable since Win2K and ME, and presumably XP, are protective of their system directory contents, and will supply an app-specific folder for the system CSLID for a given app to allow multiple versions of a DLL to be installed for different apps. The Windows search path sometimes becomes obscured, especially in the near future with the managed code environment. There's an example of SHGetFolderPath() in the Win API section.