I played with RegSvr32.exe
to register a COM Server and got next exit codes:
0
- when registering properly normal DLL Com Server
3
- when try registering fake DLL Com Server (simple text file renamed to .DLL
4
- when try registering simple DLL, not Com Server
Question: where I can find official (or non-official but good) description of all possible exit codes and their meaning?
Search on internet didn't give me result, on SO I found this topic where is written that exit codes are the same with windows system error code, but I didn't understand why then when try registering bad file I am obtaining code = 3
= ERROR_PATH_NOT_FOUND
, and when registering non-COM DLL - 4
= ERROR_TOO_MANY_OPEN_FILES
?
For me it doesn't sound logically.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…