Windows Vista problem

I tried to set up SDL on friend’s computer and it works if I put the dll files in the project directory.

I tried putting them in the system32 directory so we don’t have to copy them to every project directory, but when I run the exe it says it can’t find the dlls. I avoid Vista like a plague, so is there any configuration I need to change so vista can find the files?

Depends. If he’s on Vista 64, you can’t put them in System32. You need to put them in SysWOW64, which is where the 32-bit emulator looks for 32-bit DLLs. (Yeah, the naming makes no sense, but that’s how it works.)

I tried to set up SDL on friend’s computer and it works if I put the dll files in the project directory.

I tried putting them in the system32 directory so we don’t have to copy them to every project directory, but when I run the exe it says it can’t find the dlls. I avoid Vista like a plague, so is there any configuration I need to change so vista can find the files?From: lazyfoo@gmail.com (Lazy Foo)
Subject: [SDL] Windows Vista problem