| View previous topic :: View next topic |
| Author |
Message |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 653 Location: Eastern Indiana
|
Posted: Fri Mar 19, 2004 7:47 pm Post subject: Which folder is best for VDSRUN50.DLL Windows or system? |
|
|
| Which folder is best for VDSRUN50.DLL Windows or Windows system folder? |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Mar 19, 2004 9:21 pm Post subject: |
|
|
From what I understand, all DLLs should go in the
Windows\System folder, unless used from the
installed app dir...
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 653 Location: Eastern Indiana
|
Posted: Fri Mar 19, 2004 9:28 pm Post subject: |
|
|
Thanks Mac, now I just have to find out how to get INNO to dheck if VDSRUN50.DDL is in the Windows ROOT folder and delete it, I know how to get it to put the VDSRUN50.DLL in the Windows/system folder.
Thank a bunch.. |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Mar 19, 2004 10:19 pm Post subject: |
|
|
Actually I think it's better to put it in WINDOWS\System32  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 653 Location: Eastern Indiana
|
Posted: Fri Mar 19, 2004 10:51 pm Post subject: |
|
|
What I was meaning to say was (either one of 2 below):
WinXP
Windows/System32
Win98
Windows/System
sorry I didn't make that more clear  |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Mar 19, 2004 11:51 pm Post subject: |
|
|
I'd still go with Windows\System personally, I think
it's the most widely used. The "32-bit" clarification was
originallly for "Win32s" in Windows 3x...
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Sat Mar 20, 2004 1:18 am Post subject: |
|
|
| vtol777 wrote: | What I was meaning to say was (either one of 2 below):
WinXP
Windows/System32
Win98
Windows/System
sorry I didn't make that more clear  |
Microsoft suggests for Windows NT, Windows 2000, and Windows XP you may place your DLL's in the System32 directory. All other versions of Windows should have their DLL's placed in the System directory. As for your program I personally just place any DLL that I am packaging with the program in the same directory as the program but this is me. _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sat Mar 20, 2004 1:58 am Post subject: |
|
|
Well, for what it's worth - I did this test on Win95:
I made two batch files named "test32.bat" and put one
in the SYSTEM folder, the other in SYSTEM32 (one said
"hello from system", the other "hello from system32").
From the START->RUN menu, "test32" ran the one in
the SYSTEM folder.
I removed the one in the SYSTEM folder, and "test32"
could not find the one in the SYSTEM32 folder.
Before testing (both times), I opened a file in a different
folder so the current dir would not be SYSTEM or SYSTEM32.
My opinion: All OSs should find files in SYSTEM - I'm not
so sure about SYSTEM32.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Sat Mar 20, 2004 2:13 am Post subject: |
|
|
Hi All,
All DLL's on every system will be found if they are in the program's directory or in a directory that is part of your PATH environment variable. Mac the reason your Windows 95 is not finding that batch file is because you prob. don't have your System32 directory defined in your PATH environment variable. _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sat Mar 20, 2004 2:16 am Post subject: |
|
|
Not so, kimosabe (lol, remember the lone ranger?)...
My path has neither SYSTEM nor SYSTEM32:
PATH=C:\WIN95;C:\WIN95\COMMAND;C:\DOS;C:\TOOLS;C:\USER;C:;E:\LCCCOMPILER\BIN;E:\CBUILDER\BIN
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
moke Contributor

Joined: 02 Jan 2002 Posts: 162
|
Posted: Sun Mar 21, 2004 5:03 am Post subject: |
|
|
In case anyone is interested I agree with midpower here (although that probably weakens his side of the discussion). I always use the program folder and have never had a problem in 98, NT, ME, 2000, XP & XP Pro. No offense Mac but I stopped worrying about 95 when they stopped playing Led Zepplin on the radio .
For me anyway, it is also a cleaner install/unistall if I can make all needed files work from one location. Another benefit is that sometimes privledes are more restricted to the OS folders and sub folders and access rights are generally less restricted to the folder you are working in/from. |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Sun Mar 21, 2004 6:34 am Post subject: |
|
|
| Mac wrote: | Not so, kimosabe (lol, remember the lone ranger?)...
My path has neither SYSTEM nor SYSTEM32:
PATH=C:\WIN95;C:\WIN95\COMMAND;C:\DOS;C:\TOOLS;C:\USER;C:;E:\LCCCOMPILER\BIN;E:\CBUILDER\BIN
Cheers, Mac  |
Ok Mac,
Take a look at this link if your version of IE is high enough;-) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/loadlibrary.asp
The LoadLibrary function is the function that loads DLL's. This link will explain exactly what each version of Windows does to find the DLL.
If you have any other question about how this works please refer to the page above again. You guys crack me up.. BTW what centry were you born in Mac "Surely The Lone Ranger is dead by now?"  _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sun Mar 21, 2004 7:46 am Post subject: |
|
|
Don't be Dis'n on the Lone Ranger! He'll get Silver to put a Hoof up your
Azz!
And you don't want to know what Tonto would do to your Azz!  _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sun Mar 21, 2004 9:54 am Post subject: |
|
|
| moke wrote: | No offense Mac but I stopped worrying about 95 when they stopped playing Led Zepplin on the radio .
|
LOL moke - "Led who?" Musta been about the same time ya
stopped worrying about hair...
Thanks mindpower, that info also validates my point - System
is searched on all Windows versions (even Win 95), when no
DLL file path is used in LoadLibrary:
| Quote: | When no path is specified, the function searches for loaded modules whose base name matches the base name of the module to be loaded. If the name matches, the load succeeds. Otherwise, the function searches for the file in the following sequence:
1. The directory from which the application loaded.
2. The current directory.
3. The system directory.
4. The 16-bit system directory. There is no function that obtains the path of this directory, but it is searched.
Windows Me/98/95: This directory does not exist.
5. The Windows directory. Use the GetWindowsDirectory function to get the path of this directory.
6. The directories that are listed in the PATH environment variable.
|
Ya can stick yer DLL... uh, wherever ya want it - long as the app
uses the full path to load it.
Actually I also prefer installs to stay in their own dir as much as
possible. However, for multiple apps that use the same DLL, it's
easier to have one copy in a common folder - especially when
upgrading. And I'd choose Windows\System - only one install
path to deal with on all your apps and all Windows versions.
BTW, I'm not arguing with the MS reference material - this is just
my opinion (in case ya missed the "My opinion:" statement
earlier).
One more thing - know why the Lone Ranger and Tonto split up?
(drumroll...)
The Lone Ranger found out what "kimosabe" really means...
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Sun Mar 21, 2004 3:40 pm Post subject: |
|
|
| Mac wrote: | | moke wrote: | No offense Mac but I stopped worrying about 95 when they stopped playing Led Zepplin on the radio .
|
LOL moke - "Led who?" Musta been about the same time ya
stopped worrying about hair...  |
| mindpower wrote: |
Thanks mindpower, that info also validates my point - System
is searched on all Windows versions (even Win 95), when no
DLL file path is used in LoadLibrary:
|
The only problem I see with placing a DLL in the 16bit System directory even under NT, 2000, and XP is that later MS may decide to do away with the 16bit System directory and we would like our installs to support new versions of windows without having to repackage right? Well I guess it is ultimately up to you. I am only trying to give out proper information here. Also if your thinking about MS certification for your program so you can show their logo then you should place the DLL's in the proper locations. _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
|