Changing property of file

Discussions related to Visual Prolog
User avatar
Tonton Luc
VIP Member
Posts: 500
Joined: 16 Oct 2001 23:01

Changing property of file

Unread post by Tonton Luc » 16 May 2019 11:43

Hi,

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

Thanks in advance.

User avatar
Thomas Linder Puls
VIP Member
Posts: 1620
Joined: 28 Feb 2000 0:01

Re: Changing property of file

Unread post by Thomas Linder Puls » 18 May 2019 22:07

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.
Regards Thomas Linder Puls
PDC

User avatar
Tonton Luc
VIP Member
Posts: 500
Joined: 16 Oct 2001 23:01

Re: Changing property of file

Unread post by Tonton Luc » 21 May 2019 10:39

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).

Post Reply