Reuben Cummings
reuben at gfconsultants.com
Sun Jan 23 15:40:34 CST 2005
> 3 The Windows system directory. I think this is the most reasonable location to place the dll as I will be adding this feature to all my apps. My question then becomes how do I always get it installed to the proper folder. It's concievable, highly unlikely, but concievable, that the system folder is named differently than one would suspect. For example, I expect ...\system32, but who's to say someone hasn't changed it? Is that even possible? Am I over thinking this or is it a real concern. I just need a way to always get this dll to the system folder and I'm done with this project. Thanks for everyone's help. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Friday, January 21, 2005 6:47 PM To: Access Developers discussion and problemsolving Subject: RE: [AccessD] Save dll to folder On 22 Jan 2005 at 9:14, Stuart McLachlan wrote: > > The OS will look for a DLL when needed in the following sequence: > > 1 The directory where the executable module for the current process is > located. > 2 The current directory. > 3 The Windows system directory. > 4 The Windows directory. > 5 The directories listed in the PATH environment variable. > Should have also said, If there is a Registry Entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths for your application, the OS will *first* search the directories listed in the Path registry key for the application. So you could pick whatever location you want and add it to the standard "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MSACCESS.EXE" Path subkey (which in my case currently just holds the value "C:\Program Files\Microsoft Office\Office\" -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com