I searched everywhere but found no result on how to register a .DLL file in Windows 8 64-bit . See my this wuestion too where I tried everything and then someone said that I have to register .DLL files. But how?
Only COM servers can be registered, glut32.dll is not a COM server.
A standard mistake is copying a 32-bit DLL into c:\\windows\\system32. They need to be copied to c:\\windows\\syswow64 instead, the home for 32-bit executables on a 64-bit version of Windws. In general certainly best to avoid, messing with the Windows directories is always a mistake. Copy the DLL into the same folder as your EXE instead. Best done by a post-build event in your project.
Make it simple, add via Windows Desktop GUI:
1) Go to "Control Panel" -> "System" -> "Advanced System Setting".
2) At the "Advanced" TAB press on the lower right the button -> "Environment Variable".
3) Add any path you want to "Path" variable, make sure to put at the end ";".
4) re-start you computer.
Done :-)
From the cmd line, you can view the "Path" values by typing:
echo %PATH%
On Windows 8.1 Pro:
xxx.dll
file into the c:\\windows\\System32
folderregsvr32 c:\\windows\\system32\\xxx.dll
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.