![]() |
|
#4
|
|||
|
|||
|
Quote:
about retreiveing that parameter... it's allready passed to your loader. you just need to call olly with that same param. in case you don't know how to read it... should be something like this C like Code:
int main(int argc, char *argv[])
{
int i;
for (i = 1; i < argc; i++) printf("%s ", argv[i]);
printf("\n");
return 0;
}
Code:
procedure TForm1.FormCreate(Sender: TObject);
Var
I : Integer;
begin
Memo1.Lines.Clear;
Memo1.Lines.Add('Parameters Count : '+IntToStr(ParamCount));
{ ParamCount - Returns the number of parameters passed on
the command line. }
If ParamCount>0 Then
For I:=1 To ParamCount Do
{ ParamStr - Returns a specified parameter from the command-line. }
Memo1.Lines.Add('Parameter '+IntToStr(I)+' : '+ParamStr(I))
end;
Code:
Sub Main() Debug.Print Command$ End Sub |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ollydbg v1 to v2 porting question | sendersu | General Discussion | 0 | 09-02-2014 13:29 |
| Another Ollydbg question DLL loading in Program | hobferret | General Discussion | 9 | 06-19-2005 23:32 |
| Quick OllyDbg Question | lilmeanman | General Discussion | 8 | 06-06-2005 08:13 |
| PELOCK Question again--.w.--Ollydbg | boya | General Discussion | 0 | 06-10-2004 12:38 |
| OllyDbg question | butter | General Discussion | 2 | 05-07-2004 10:30 |