简体   繁体   中英

regsvr32 doesn't register my DLL on Windows 7

I use "DllRegisterServer" function in C++. When I use in cmd "regsvr32 MyDll.dll", I always get a message that the action succeeded, but actually the DLL file was not registered in the registry. It happens only in Windows 7.

What might cause this?

If you're working on a 64 bit OS, you need to be aware that 64bit applications can not "see" 32 bit DLLs. Also, things are stored in different places in the registry. You need to look at the Wow6432Node nodes to see the 32bit components.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM