Thanks for solving the first problem!
The second problem is that how can I change the "application title" in the project (by reading a txt file or an arguement?) before the compliation?