Considering the following Understanding
regsvr32
calls the entry point DllRegisterServer
/ DllUnregisterServer
after loading the target DLL into its address space through LoadLIbrary
.C:\Windows\SysWOW64
But then on my 2008 R2 Box, I was able to register a 32 bit dll by the 64 bit regsvr32. How was that possible? Am I missing something?
The example I wanted to highlight in the screenshot was the last for which the Dialog pops up.
It seems Mats and my assumption were correct. MS have re-engineered the 64 bit regsvr32 so that based on the target dll bitness it may spawn up a new 32 bit regsvr32 process from %SYSWOW64% to register the DLL. To prove this point, I fired up procexp, spied on the pop up Window for the 32 bit DLL and here was what showed up.
Couple of things to note