Home > Back-end >  Delphi receiving external parameters
Delphi receiving external parameters

Time:09-21

If I order A click on the button 1, then calls the CreateProcess (' B.E XE loginid: loginid/password ', nil, nil, nil, false, NORMAL_PRIORITY_CLASS, nil, nil, si, PI);
B. the method open applications
Excuse me how to get passed in the program B parameter loginid!
For each great god help solve, be obliged!

CodePudding user response:

ParamCount//parameter number
Paramstr (0);//the zeroth parameters

CodePudding user response:

1, can through the EXE suffix DOS parameters;
2, through leakage or TXT file into parameters;
3, Shared memory, Shared parameters,

CodePudding user response:

Has been solved, knot posted, thank you for your help!
  • Related