András Lukács
2008-04-10 15:46:22 UTC
Hi, Everyone,
I'm putting together a sample application for my COM server, in which I
try to handle a few of the most common errors apart from the rest
(CoClass not registered in the Windows Registry, etc.). I'm doing this
in an effort to provide more specific error messages to users.
The error code I receive after the server's executable is removed from
the folder into which it was registered is $80070002. However, I just
can't locate an error constant for this one. I checked Windows.pas,
WinError.pas, ActiveX.pas but nothing (I use Delphi 7). Where would you
think I might be able to locate a suitable constant?
The string message of the error is (translated back to English) 'The
system cannot find the file (specified).'
Thanks a lot,
András
I'm putting together a sample application for my COM server, in which I
try to handle a few of the most common errors apart from the rest
(CoClass not registered in the Windows Registry, etc.). I'm doing this
in an effort to provide more specific error messages to users.
The error code I receive after the server's executable is removed from
the folder into which it was registered is $80070002. However, I just
can't locate an error constant for this one. I checked Windows.pas,
WinError.pas, ActiveX.pas but nothing (I use Delphi 7). Where would you
think I might be able to locate a suitable constant?
The string message of the error is (translated back to English) 'The
system cannot find the file (specified).'
Thanks a lot,
András