PDA

View Full Version : Feature request ? Bug ? User friendlier IDE ?



NewsArchive
05-31-2012, 06:34 AM
Hello Fredrich,

I'll let you qualify <bg> :

Remove a file from a script (exe)
Compile and all is fine (of course as it is SB)

Now in script there is a line to code sign that deleted exe and as the
physical exe file is still in the folder (source) NO ERRORs (normal as
it is SB)

When we delete a file and in script there is a code signing request
could we be :
warned ?
line deleted with or without a warning ?

Would make SB well no it IS perfect already so .... B-)

--
JP
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com

NewsArchive
05-31-2012, 06:35 AM
Hi JP,

No, this is not possible. Compiler directives (in your case #code-sign) are
executed at compile time and the required information is not available at
development time. There is no link between an install file action and a
code-sign directive.

Friedrich

NewsArchive
05-31-2012, 06:36 AM
They are executed at runtime .... but can they not be "detected" as
existing at "deletion" time of an exe or a dll from the file list ?

I was thinking in this direction ... delete an exe or dll and IF a code
sign script is present do something ...

--
JP
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com

NewsArchive
05-31-2012, 06:36 AM
> They are executed at runtime .... but can they not be "detected" as
> existing at "deletion" time of an exe or a dll from the file list ?

No, absolutely impossible. There is a fundamental difference between design
time and compile time. The compile time data is not available when you
develop the project.

> I was thinking in this direction ... delete an exe or dll and IF a
> code sign script is present do something ...

Unfortunately, there is no way to do this. It might even result in a
support nightmare because the IDE is not a mind reader. For example, in
case of portable and/or customizable projects with tons of #if compiler
directives and compiler variables that specify the source location. Chances
are very high that you might end up with a broken project in this case.

Friedrich

NewsArchive
05-31-2012, 06:37 AM
:'(

;-)

B-)

--
JP
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com