Results 1 to 2 of 2

Thread: Return codes for RegServer and REGSVR32.EXE?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2003
    Posts
    308

    Question Return codes for RegServer and REGSVR32.EXE?

    I am trying to make sense of the return codes when I try to register and unregister COM objects - I can't seem to find a table that lists what the return codes mean.

    My application is able to register and unregister COM objects, for both .DLL and .EXE files.
    - File.exe -RegServer // for executable files
    - REGSVR32 File.dll // for dll files

    I use CreateProcess to launch the com registration and GetExitCodeProcess to get the exit code when completed.
    But what do these return codes mean? Where can I find a Code<->Text translation?

    For example, when I unregister with -UnRegServer I usually get a return code of 28, with REGSVR32 I usually get 53...
    What do these numbers mean?

    Any helps, clues, or hints would be immensely appreciated.
    Thanks,

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Return codes for RegServer and REGSVR32.EXE?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width