tags:

views:

21

answers:

0

Hi all,

I want to register a 64-bit DLL on a 64-bit OS, (specifically Windows PE). I am not sure if I can use regsvr32.exe because of the limitations of Win PE (additionally, I think it will not work since regsvr32 is for 32-bit dlls).

I need the DLL in order to run a program since the program does not run if the dll is not registered. It gives out the error, "Class not registered".

Can anyone suggest an alternative? Is it possible to import the DLL I need in the program I did (using visual studio)? Or give steps on how to register 64-bit dlls?

Thank you!

Additional info:

When I try to register the x64 dll using regsvr32 in a x64 Win PE, it says,

"The module "smsmsgapinet.dll" may not compatible with the version of Windows that you're running. Check if the module is compatible with an x86(32-bit) or x64(64-bit) version of regsvr32.exe"

When I try to register a x86 dll using regsvr32 in a x64 Win PE, it says,

"The module "smsmsgapinet.dll" failed to load

Make sure the binary is stored at the specified path or debug it to check for problem with the binary or dependent .DLL files.

The specified module could not be found."

Although I am sure that I load it in the correct folder. It is also a standalone file.