How to detect if library requires registration II.
As you maybe noticed, I released small utility that allows you to detect all libraries (dlls or ocxs) that requires registration using RegSvr32 and can potentially lead to DLL hell (and are very dangerous in SBC environments, specially with strong NTFS security)...
In this utility I am using LoadLibraryA API to load library and then try to detect existance of DLLRegisterServer function. Problem is that this API is too "intelligent" - it is not really silent and sometimes it will popup some message box like "This application has failed to start because xxx.dll was not found. Re-installing the application may fix this problem.". LoadLibrary requires also all dependent libraries to be loaded successfully and that is why such messages are returned.
Because there is nothing I can do about this error and COMDetector is command line tool that should be used for parsing, I decided I must found another way how to detect such files. Another approach was to detect OLESelfRegister. After some investingation I found that this is present as part of the Version information, so I tried to have a look through normal GUI and voila - to my surprise this information is really there :)

So (if you want to do it quickly) easiest way how to detect if DLL\OCX requires registration is to right-click on such file, select Properties, Version and locate OLESelfRegister - if it is there, you must register such component (or generate manifest as I wrote in another article).
Right now I am rewriting COMDetector to implement this new scan technique, I am also adding switch for recursive scanning. If you want to request any additional functionality, just let me know.