How to register a DLL in the system?

2

I have a DLL that I can not log into the system.

If I take the original DLL, it is registered, but if I get the one that was generated on the company's machine, it registers. I do not know if I have to do anything.

To register on the system (W7 64bits), I do this:

  

C > regsvr32 GenQuickRpt001.dll

After putting the DLL in the System32 windows, I have this message:

IfIputthedllinSysWOW64,givethisothermessage:

I know there is a way to register with Delphi when working with DLL.

How do I do this?

    
asked by anonymous 16.02.2016 / 12:37

1 answer

2

Two things, to register a 32-bit DLL you use regsvr32 and for the 64-bit DLL you use regsvr32, as the name is the same you should pay attention to the installation folder of each!

If you receive an error while registering a 32-bit DLL in a 64-bit version of Windows, follow these steps:

  • Open a command prompt with elevated privileges.

  • If the 32-bit DLL is in the % systemroot% \ System32 folder, move it to the % systemroot% \ SysWoW64 folder. >

  • Run the following command: %systemroot%\SysWoW64\regsvr32 <caminho completo da DLL>

  • Font!

    Related to several possible solutions !

        
    16.02.2016 / 16:36