Re: [Lazarus] Resources and Version info

2008-12-05 Thread Leonardo M. Ramé
Well, no, in Additional Info you can use only a predefined set of fields. It could be great if Lazarus allow adding custom fields. Leonardo. Graeme Geldenhuys escribió: On Fri, Dec 5, 2008 at 5:05 AM, Mac Programmer [EMAIL PROTECTED] wrote: In Delphi you can add additional keys to a

Re: [Lazarus] Resources and Version info

2008-12-05 Thread Leonardo M. Ramé
It seems I'm placing the {$R myresource.rc} in the wrong place...when I try to compile I receive this error: windres: plugin.rc:15: syntax error NPDemo.lpr(26,1) Error: Error while compiling resources NPDemo.lpr(26,1) Fatal: There were 1 errors compiling module, stopping This is a the code:

Re: [Lazarus] Resources and Version info

2008-12-05 Thread Leonardo M. Ramé
Thanks Paul!, I've commented out these fields: #FILEFLAGSMASK VS_FFI_FILEFLAGSMASK #FILEOS VOS__WINDOWS32 #FILETYPE VFT_DLL and WindRes interpreted it perfectly. Leonardo M. Ramé Paul Ishenin escribió: Leonardo M. Ramé wrote: It seems I'm placing the {$R myresource.rc} in the wrong

Re: [Lazarus] Resources and Version info

2008-12-05 Thread Mac Programmer
Leonardo is correct. The Additional Info fields are just the rest of the Microsoft standard version info keys, probably because they couldn't fit on the main panel. Although it's fun to pay homage to Microsoft with a Windows-style nested dialog approach, this dialog should have used a

[Lazarus] Resources and Version info

2008-12-04 Thread Leonardo M. Ramé
Hi, I'm trying to convert a Delphi Dll to a Lazarus one. After a couple of changes the Dll compiles as expected, the problem is that I need to add some fields to version information resource. When I check Project Options - Version Information - Include version info... The compiler

Re: [Lazarus] Resources and Version info

2008-12-04 Thread Henrique Faria
Did you check Version Info - +Additional info? Which version info fields Lazarus doesn't have? Henrique. Date: Thu, 4 Dec 2008 16:37:08 -0300 From: [EMAIL PROTECTED] To: lazarus@lazarus.freepascal.org Subject: [Lazarus] Resources and Version info Hi, I'm trying to convert a Delphi Dll

Re: [Lazarus] Resources and Version info

2008-12-04 Thread Felipe Monteiro de Carvalho
Make the entire .rc file yourself. Possibly disable the version info taken care by the IDE or create a file with a different name from the one the IDE maintains. Link it to your project with {$R myrcfile.rc} -- Felipe Monteiro de Carvalho ___ Lazarus

Re: [Lazarus] Resources and Version info

2008-12-04 Thread Mac Programmer
In Delphi you can add additional keys to a version info resource in addition to the standard keys, but Lazarus doesn't have a place to define additional keys, only the standard ones. The .rc file supports them okay, so just create it manually. For example, I usually add a key for

Re: [Lazarus] Resources and Version info

2008-12-04 Thread Graeme Geldenhuys
On Fri, Dec 5, 2008 at 5:05 AM, Mac Programmer [EMAIL PROTECTED] wrote: In Delphi you can add additional keys to a version info resource in addition to the standard keys, but Lazarus doesn't have a place to define additional keys, only the standard ones. Yes it does. Project Options | Version