I want to write a Delphi function to register a dll. I want the function to check if OleInitialize has already been called before it does it. I guess I'm trying to avoid the consequences of initialization twice, because I'm not sure what they can be. I am worried that my function will not process many different DLLs like regsvr32.exe.
source
share