Skip to content

Commit

Permalink
Prune some commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Apr 27, 2010
1 parent 958b28a commit 5c05595
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions WormKit/HookLib.dpr
Expand Up @@ -62,22 +62,10 @@ begin
begin
ErrNo := GetLastError;
Str(ErrNo, ErrNoStr);
{Msg := AllocMem(4096);
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM,
nil,
ErrNo,
0,
Msg,
4096,
nil);
Str(Length(Msg), ErrNoStr);}

MessageBox(0, PChar('Warning: can''t load module "'+F.cFileName+'".'#13#10+
'It''s probably missing some DLL files it depends on.'#13#10#13#10+
'Error #'+ErrNoStr+':'#13#10+
SysErrorMessage(ErrNo)), 'WormKit', MB_ICONWARNING);
//FreeMem(Msg);
end
else
begin
Expand Down

0 comments on commit 5c05595

Please sign in to comment.