forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Which folder is best for VDSRUN50.DLL Windows or system?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 653
Location: Eastern Indiana

PostPosted: Fri Mar 19, 2004 7:47 pm    Post subject: Which folder is best for VDSRUN50.DLL Windows or system? Reply with quote

Which folder is best for VDSRUN50.DLL Windows or Windows system folder?
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Fri Mar 19, 2004 9:21 pm    Post subject: Reply with quote

From what I understand, all DLLs should go in the
Windows\System folder, unless used from the
installed app dir... Wink

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 653
Location: Eastern Indiana

PostPosted: Fri Mar 19, 2004 9:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Fri Mar 19, 2004 10:19 pm    Post subject: Reply with quote

Actually I think it's better to put it in WINDOWS\System32 Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 653
Location: Eastern Indiana

PostPosted: Fri Mar 19, 2004 10:51 pm    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Fri Mar 19, 2004 11:51 pm    Post subject: Reply with quote

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... Wink

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sat Mar 20, 2004 1:18 am    Post subject: Reply with quote

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 Smile


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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sat Mar 20, 2004 1:58 am    Post subject: Reply with quote

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. Wink

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sat Mar 20, 2004 2:13 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sat Mar 20, 2004 2:16 am    Post subject: Reply with quote

Not so, kimosabe (lol, remember the lone ranger?)... Razz Laughing

My path has neither SYSTEM nor SYSTEM32: Wink

PATH=C:\WIN95;C:\WIN95\COMMAND;C:\DOS;C:\TOOLS;C:\USER;C:;E:\LCCCOMPILER\BIN;E:\CBUILDER\BIN

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
moke
Contributor
Contributor


Joined: 02 Jan 2002
Posts: 162

PostPosted: Sun Mar 21, 2004 5:03 am    Post subject: Reply with quote

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 Smile.

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
View user's profile Send private message Send e-mail
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sun Mar 21, 2004 6:34 am    Post subject: Reply with quote

Mac wrote:
Not so, kimosabe (lol, remember the lone ranger?)... Razz Laughing

My path has neither SYSTEM nor SYSTEM32: Wink

PATH=C:\WIN95;C:\WIN95\COMMAND;C:\DOS;C:\TOOLS;C:\USER;C:;E:\LCCCOMPILER\BIN;E:\CBUILDER\BIN

Cheers, Mac Smile


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?" Razz Laughing

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sun Mar 21, 2004 7:46 am    Post subject: Reply with quote

Don't be Dis'n on the Lone Ranger! He'll get Silver to put a Hoof up your
Azz! Laughing

And you don't want to know what Tonto would do to your Azz! Twisted Evil

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sun Mar 21, 2004 9:54 am    Post subject: Reply with quote

moke wrote:
No offense Mac but I stopped worrying about 95 when they stopped playing Led Zepplin on the radio Smile.

LOL moke - "Led who?" Musta been about the same time ya
stopped worrying about hair... Wink

mindpower wrote:

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

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: Wink
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. Wink

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. Wink

BTW, I'm not arguing with the MS reference material - this is just
my opinion (in case ya missed the "My opinion:" statement
earlier). Very Happy

One more thing - know why the Lone Ranger and Tonto split up?
(drumroll...)
The Lone Ranger found out what "kimosabe" really means... Laughing

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sun Mar 21, 2004 3:40 pm    Post subject: Reply with quote

Mac wrote:
moke wrote:
No offense Mac but I stopped worrying about 95 when they stopped playing Led Zepplin on the radio Smile.

LOL moke - "Led who?" Musta been about the same time ya
stopped worrying about hair... Wink


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: Wink


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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group