Tuesday, November 18, 2014

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.
Referensi : klik

3 comments:

  1. makasih gan, alhamdulillah akhir nya bisa juga me register file ocx

    ReplyDelete
  2. The module "zkemsdk.dll" failed to load.
    make sure the binary is stored at the sepcified path or debut it to check for problems with the binary or dependent .DLL files.
    The specified module could not be found.

    ReplyDelete