The regsvr32 utility suppresses standard output. For example:
STDAPI DllRegisterServer(void)
{
std::cout << "RegisterServer\n";
return S_OK;
}
When executed with:
regsvr32 my.dll
nothing appears in standard ouput (the successful message box is displayed). Is there anyway to make standard output appear?
regsvr32.exe it a Windows Application. It does not own a console.
printf or std::cout won’t show any text.
If you insist to show something, you can create console yourself.
call the following lines before your text output.