Duplicated resource id

Discussions related to Visual Prolog
User avatar
Jan de Lint
VIP Member
Posts: 107
Joined: 6 Mar 2000 0:01

Duplicated resource id

Unread post by Jan de Lint » 14 Aug 2014 9:34

New (I think) are build-messages like this one:

Duplicated resource ID 'idc' for files:
$(ProDir)pfc\gui\controls\versionControl.ctl
$(ProDir)pfc\gui\controls\timerControl.ctl
$(ProDir)pfc\gui\controls\sciLexer\sciLexer.ctl
$(ProDir)pfc\gui\controls\realControl.ctl
$(ProDir)pfc\gui\controls\messageControl\messageControl.ctl
$(ProDir)pfc\gui\controls\integerControl.ctl
TaskWindow\TaskWindow.win

I assume these messages can usually be ignored?

Regards,
]an

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

Unread post by Thomas Linder Puls » 14 Aug 2014 12:45

They can be ignored.

The problem is in the vipprj file (be sure to make a backup before you try to solve the problem).

None of the mentioned files should have a resource id associated (but historically they had the dummy id "idc").

You can either edit the vipprj file (in a text editor): deleting the occurences of resource_id="idc".

Or you can delete all the mentioned files (except TaskWindow\TaskWindow.win which cannot be deleted) from the project. A rebuild all will ask to add them again and this time they will be without the resource_id attribute. Since the task window is now the only file that have the "idc" resource id there will no longer be duplicates.
Regards Thomas Linder Puls
PDC

Post Reply