🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.commandlinetools
4 messages
4 total messages Started by Eddie Shipman Fri, 23 Mar 2007 17:33
BRCC messing up Version Info
#48
Author: Eddie Shipman
Date: Fri, 23 Mar 2007 17:33
67 lines
2292 bytes
When compiling this RC:

1 VERSIONINFO
FILEVERSION 3,2,1,0
PRODUCTVERSION 3,2,1,0
FILEOS 0x4
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
	BLOCK "040904E4"
	{
		VALUE "CompanyName", "TSW Solutions, Inc."
		VALUE "FileDescription", "Storeworks"
		VALUE "FileVersion", "3.2.1.0"
		VALUE "InternalName", "Storeworks"
		VALUE "LegalCopyright", "TSW Solutions, Inc."
		VALUE "LegalTrademarks", ""
		VALUE "OriginalFilename", "Storeworks.exe"
		VALUE "ProductName", "Storeworks"
		VALUE "ProductVersion", "3.02.01"
		VALUE "Comments", ""
	}
}

BLOCK "VarFileInfo"
{
	VALUE "Translation", 0x0409 0x04E4
}
}

I'm getting this result in the RES file:


1 VERSIONINFO
FILEVERSION 3,2,1,0
PRODUCTVERSION 3,2,1,0
FILEOS 0x4
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
	BLOCK "040904E4"
	{
		VALUE "CompanyName", "TSW Solutions, Inc."
		VALUE "FileDescription", "Storeworks.FileVersion"
		VALUE "FileVersion", "3.2.1.0"
		VALUE "InternalName", "StoreworksJLegalCopyright"
		VALUE "LegalCopyright", "TSW Solutions, Inc."
		VALUE "LegalTrademarks", ""
		VALUE "OriginalFilename", "Storeworks.exe4
ProductName"
		VALUE "ProductName", "Storeworks2ProductVersion"
		VALUE "ProductVersion", "3.02.01"
		VALUE "Comments", ""
	}
}

BLOCK "VarFileInfo"
{
	VALUE "Translation", 0x0409 0x04E4
}
}


Needless to say it looks very wierd in my Version info properties.
What am I doing wwrong?
Re: BRCC messing up Version Info
#49
Author: Gordon Whittam
Date: Fri, 23 Mar 2007 17:01
16 lines
1472 bytes
In article <xn0f41qgd2wqfdr000@forums.borland.com>, Eddie Shipman 
wrote:
> Needless to say it looks very wierd in my Version info properties.
> What am I doing wwrong?
>

Nul terminate your strings - "CompanyName", "TSW Solutions, Inc.\0"

and shouldn't that first line be 

VS_VERSION_INFO VERSIONINFO

Gordon
-- 
MGCSoft Graphical and equation editors
http://www.mgcsoft.com/
Re: BRCC messing up Version Info
#50
Author: Eddie Shipman
Date: Fri, 23 Mar 2007 18:19
10 lines
1001 bytes
> Needless to say it looks very wierd in my Version info properties.
> What am I doing wwrong?

Try finishing all your alphanumeric VALUE entries with \000

DUH!!



-- 
Re: BRCC messing up Version Info
#151
Author: Eddie Shipman
Date: Fri, 23 Mar 2007 18:34
15 lines
1221 bytes
Gordon Whittam wrote:

> VS_VERSION_INFO VERSIONINFO



Any idea why my version info is not updated when I use this syntax:
{$R C:\Storeworks\version.res C:\Storeworks\version.rc}

I only changed the rc file, I did not recompile using brcc32.
I was under the impression that the IDE recompiled the resource when
using this syntax.


-- 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads