Project name Versus Executable name

Started by Jean-pierre Leroy, November 11, 2009, 03:54:31 PM

Previous topic - Next topic

Jean-pierre Leroy

Paul,

When I create a new project with a space in the name, by example: "My Project", the executable is not "My Project.exe" but "MyProject.exe" (without the space between My and Project).

Is-there any good reason for that ? could it be fixed ?

Thanks.
Jean-Pierre

Jean-pierre Leroy

#1
Paul,

What is strange is that when I look in the properties of the executable filename, I can see the space in the filename.

Here is a screenshot of the properties of this executable filename.

In the meantime, I create another project with JellyFish Pro, and I don't have the same issue; if a there is a space in the .bas source filename, I have it also in the executable filename; so it's correct with JellyFish Pro.

Jean-Pierre

Paul Squires

Hi Jean-Pierre,

You are correct. I am removing the space in order to generate easier to use CODEGEN* files. When the file EXE is created, I am continuing to use the name with the spaces removed. Instead, I should be honoring the original name.

A workaround for now is to hard code the name of your project in the FF_AppStart module.


'#COMPILE EXE "//PROJECT_NAME//.exe"
#COMPILE Exe "My Project.exe"

Paul Squires
PlanetSquires Software

Jean-pierre Leroy

Thank you Paul ... the workaround works perfectly.

Jean-Pierre

Paul Squires

No problem at all.

This has been fixed in v3.03.
Paul Squires
PlanetSquires Software