Page 1 of 1

Changing property of file

Posted: 16 May 2019 11:43
by Tonton Luc
Hi,

Is it possible to programmatically change the file's properties like "Description of file", or "File version" (in any files) ?

Thanks in advance.

Re: Changing property of file

Posted: 18 May 2019 22:07
by Thomas Linder Puls
Such properties are in a version resource, which is linked in to the program. There exist programs that can replace such resources in a program. I assume that they kind of relink the program with the new resource and all other resources of the program (icons, cursor,...).
It is also possible to locate the resource and update it in place, but I believe that will require that the new description has the same length as the original.
It is the not something that Visual Prolog supports.

Re: Changing property of file

Posted: 21 May 2019 10:39
by Tonton Luc
Ok, thanks.
I asked this question because when I compile an Isapi dLL using VP 5.2, I can't change the version of my dLL file (from the compilator).