to my software made with Lazarus on Linux, as if it were an installed program, that is, to open a txt with my program just by clicking on the txt? Thanks... I saw that through Thunar you can associate the text file with my program, but the file runs my program but does not open within the program, the program opens empty (plain text editor), what should I do? Thanks...
Your program should use the ParamStr(n) command where is the parameter number. Ex: ParamStr(0) : Returns the name of the executable file. ParamStr(1): Returns the first parameter passed in the execution of your program.
Обсуждают сегодня