Cara mendaftarkan DLL pada Windows 7 64 bit (SOLVED)



















Bermula dari kebutuhan untuk install komponent delphi, ternyata ada satu komponen yang DLL nya harus di daftarkan dulu ke windows. Pada panduannya DLL disuruh copy ke C:Windows\System32\ dan mendaftarkan DLL dengan cara C:\Windows\System32\regsvr32.exe<spasi>(nama DLL) ternyata setelah dilakukan ehh error. Setelah browsing ternyata begini caranya :

Jika DLL adalah versi 32 bit maka
1. copy DLL ke C:\Windows\SysWoW64\
2. pada CMD masuk ke C:\Windows\SysWoW64\
3. daftarkan DLL dengan format C:\Windows\SysWoW64\regsvr32.exe<spasi>(nama DLL)

Jika DLL adalah versi 64 bit maka

1. copy DLL ke C:\Windows\System32\
2. pada CMD masuk ke C:\Windows\System32\
3. daftarkan DLL dengan format C:\Windows\System32\regsvr32.exe<spasi>(nama DLL)


http://support.microsoft.com/kb/249873Note On a 64-bit version of a Windows operating system, there are two versions of the Regsv32.exe file:
The 64-bit version is %systemroot%\System32\regsvr32.exe.
The 32-bit version is %systemroot%\SysWoW64\regsvr32.exe.






EmoticonEmoticon