Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-03

TProcess: CommandLine deprecated

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Eric Kom

Good day,

During the compile time, a received at warning message Symbol "CommandLine" is deprecated.

They is another method to replace CommandLine from the TProcess? so that I can avoid the warning message.

Kind Regards Eric Kom System Administrator & Programmer - Metropolitan College _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5
Noah Silva
to Eric Kom

Hi,

According to this guide:
http://lazarus-ccr.sourceforge.net/docs/fcl/process/tprocess.html

The Executable and Parameters properties should be used instead.

You may also find this interesting:
http://wiki.freepascal.org/Executing_External_Programs#TProcess

Thank you,
Noah Silva

2013/3/18 Eric Kom

Show quoted text 40 lines
Good day, During the compile time, a received at warning message Symbol "CommandLine" is deprecated. They is another method to replace CommandLine from the TProcess? so that I can avoid the warning message. -- Kind Regards Eric Kom System Administrator & Programmer - Metropolitan College ______________________________**___________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ------------------------------**----------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5 ______________________________**_________________ fpc-pascal maillist - http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal>
Eric Kom
to Noah Silva
Noah Silva wrote

Thanks for the note.

Show quoted text 62 lines
The Executable and Parameters properties should be used instead. You may also find this interesting: http://wiki.freepascal.org/Executing_External_Programs#TProcess Thank you, Noah Silva 2013/3/18 Eric Kom < > Good day, During the compile time, a received at warning message Symbol "CommandLine" is deprecated. They is another method to replace CommandLine from the TProcess? so that I can avoid the warning message. -- Kind Regards Eric Kom System Administrator & Programmer - Metropolitan College _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net <http://www.kom.za.net> | www.kom.za.org <http://www.kom.za.org> | www.erickom.co.za <http://www.erickom.co.za> Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5 _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Kind Regards Eric Kom System Administrator & Programmer - Metropolitan College _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5