Hello folks,
I need your advice in a project that I´m working on with BlitzPlus.
Is it possible, even with the support of C/C++/etc., to write a program that recognizes it´s own name, stores it in a string var 'xyz$', starts another app with a similar name (same name, actually, plus prefix "main_", the actual BlitzPlus app) and passes the string var 'xyz$' as a parameter on the command line?
The programm I need works as you might guess as a kind of wrapper for the main programm. It is necessary because the name of the B+ app is not known before it´s actual runtime, it is copied and renamed several times (renamed partly by random, partly by user input) - but when the app runs, it´s name is needed to be known.
Regards,
4pac
I need your advice in a project that I´m working on with BlitzPlus.
Is it possible, even with the support of C/C++/etc., to write a program that recognizes it´s own name, stores it in a string var 'xyz$', starts another app with a similar name (same name, actually, plus prefix "main_", the actual BlitzPlus app) and passes the string var 'xyz$' as a parameter on the command line?
The programm I need works as you might guess as a kind of wrapper for the main programm. It is necessary because the name of the B+ app is not known before it´s actual runtime, it is copied and renamed several times (renamed partly by random, partly by user input) - but when the app runs, it´s name is needed to be known.
Regards,
4pac