also, in Windows Vista (home basic), do dlls in system32 directory have special attribute? Seems simply copying dlls to system32 (with admin previliege) won't work, got error loading dll message, but in fact the dll is in system32 directory.
Thanks in advance!
Yes you need admin privileges to put a file in system32
Putting a file in system32 in not always enough, some files need to be "registered" with the OS.
Tim
Things have got to get better, they can't get worse, or can they?
But same portable application can be run in xp (with admin right) without registering those dlls, and in Vista, I got the error loading dll message, and I checked those dlls were indeed in the system32 directory. it puzzles me....
Is your Vista x64? On x64 systems, you should use a 32 bit program to put 32bit dlls in what they think to be system32.
Windows x64 cheats 32bit programs to think that another directory is %windir%\system32. Therefore they don't find dlls that are placed in %windir%\system32 (which is meant to contain x64 dlls anyway).
Usually the other directory is %windir%\SysWow64, so you can just copy your files there, but MS docs says that exact path may change and IIRC should be looked up in the registry.
"Those people who think they know everything are a great annoyance to those of us who do." Asimov
Thanks!