delphi - Why can't my program find its DLLs on Vista 64? -


I recently found a new laptop Unfortunately, it came with Vista. This has been a major problem for working, and there are no XP drivers for computer hardware components, so I can not really "upgrade" the operating OS. I have mostly kept things working, but a particularly strange problem has stumped me.

I installed Delphi and tried to make a project. It is compiled but will not run "This application failed to start because sdl.dll was not found." Fair enough So I grabbed SDL.dll and put it in the C: \ windows \ system32 folder. (Using Vista 64-bit Home Premium. This is 32-bit DLL, however, so I put it in 32 folders instead of 64 folders.)

Hit the run again is the same problem. but why? Where does he go, right? And in C: \ windows \ system32 system path does anyone know why it can not connect to DLL?

(And yes, I know that I can work around the problem by putting DLL in the same folder .exe I am currently doing it as a functioning. However, long time This is a bad idea because I have many different projects for which everyone needs SDL.)

This is not Vista problem, but a 64 bit Windows problem: Name System32 is really confusing, take And this is actually the folder where the system (64 bit)

...

... all the 64 bit system DLLs located in C: \ Windows Are \ System32 .

... All 32-bit systems are located in DLL C: \ Windows \ b> SysWOW64 .

The name comes from W Indos o n W endorses 64 () 32 bit Name the translation layer to use applications native 64-bit system resources.


Comments