PDA

View Full Version : Forcing Windows to see DLL's



Red Ant
02-20-2001, 02:10 AM
Hi everyone,

I would like to know how I can "force" Windows 98 to see certain DLL's. I'm currently working on a couple of OpenGl C++ programs and I use the GLUT library. Now, when I want to run the exe's I created I need to have the glut.dll in exactly the same directory as the exe or the program won't work.
My question is, is there a way to put this DLL in one specific folder and change some registry key so that windows "knows" where it can be found. This way I wouldn't have to put a copy of the file in every project folder I'm currently working on. Thanks in advance.

reghakr
02-20-2001, 04:08 AM
I'm no programmer, but aren't dll's recognized as long as they are placed in the path (c:\windows and/or c:\windows\system)

reghakr

Red Ant
02-20-2001, 04:08 AM
Never mind, found a solution myself :). Just put the glut.dll into my WINDOWS/System folder. No registry messing necessary.

Red Ant
02-20-2001, 04:09 AM
Haha, reghakr, you must have beat me to it by just a few seconds =).

reghakr
02-20-2001, 04:25 AM
Yea, what are the chances of that happening!
Milliseconds.

reghakr