Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-01

Graphic LRS creator

7 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author
to leledumbo

Hi!

I met LRSExplorer when you talked about it... :)

LRSExplorer can edit (add and remove) directly the lrs file. LazResource only can create the lrs file from a list of files and folders. It was created as replacement of lazres tool from lazarus.

2009/1/30 leledumbo

Show quoted text 12 lines
What's the difference from http://sourceforge.net/project/showfiles.php?group_id=240460 LRSExplorer ? -- View this message in context: http://www.nabble.com/Graphic-LRS-creator-tp21745323p21745722.html Sent from the Free Pascal - General mailing list . _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

vmars
to Unknown author: Hi all! I created a gui tool to build lazarus resouces (lrs). You can add folders and…

Please,
is there a .zip version for windows?
Thanks!

ô¿ô
V e r n

WinXp sp2 , Delphi5, WebDwarf, Trellian WebPage, Lazarus-0.9.26-fpc-2.2.2-win32.exe, wxPython2.8-win32-unicode-2.8.9.1-py26.exe , Boa 0.6.1 http://www.flickr.com/photos/vmars956/

Wanted: Dwarf Hibiscus (Orange/Rasberry)

Earlier message 21 lines
----- Original Message ----- From: To: FPC-Pascal users discussions Sent: Friday, January 30, 2009 5:11 AM Subject: [fpc-pascal] Graphic LRS creator Hi all! I created a gui tool to build lazarus resouces (lrs). You can add folders and files and load/save your resource configuration. It's based on LazRes tool from Lazarus. Download: http://200.215.0.35/LazResGUI.tar.bz2 ------------------------------------------------------------------------------

Reply by email

Unknown author
to vmars

Hi!

Zip version:

http://200.215.0.35/LazResGUI.zip

2009/1/30 vmars

Show quoted text 41 lines
Please, is there a .zip version for windows? Thanks! ô¿ô V e r n WinXp sp2 , Delphi5, WebDwarf, Trellian WebPage, Lazarus-0.9.26-fpc-2.2.2-win32.exe, wxPython2.8-win32-unicode-2.8.9.1-py26.exe , Boa 0.6.1 http://www.flickr.com/photos/vmars956/ Wanted: Dwarf Hibiscus (Orange/Rasberry) ----- Original Message ----- *From:* *To:* FPC-Pascal users discussions *Sent:* Friday, January 30, 2009 5:11 AM *Subject:* [fpc-pascal] Graphic LRS creator Hi all! I created a gui tool to build lazarus resouces (lrs). You can add folders and files and load/save your resource configuration. It's based on LazRes tool from Lazarus. Download: http://200.215.0.35/LazResGUI.tar.bz2 ------------------------------ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

leledumbo
to Unknown author

I notice that it's not directly compilable under Windows. First, you have some syntax errors:

{$ifdef MSWINDOWS}
newLine = chr(13)+chr(10) // missing semicolon!!!
{$else}
newLine = chr(10);
{$endif}

I suggest LineEnding constant instead. And I don't know about you, but this doesn't (and shouldn't) work:

procedure ...(...,pattern: string; ...);
const
  {$ifdef MSWINDOWS}
  dirpattern = pattern;
  {$else}
  dirpattern = '*';
  {$endif}
...

Typed const won't work either, use var instead. One more thing: FNMatch is in UnixUtil, which is NOT available under Windows. Therefore, the conditional compilation switch is wrong:

{$ifndef Unix} // should be {$ifdef}
... FNMatch(...) ...
{$endif}

Now it's compilable under Windows.

View this message in context: http://www.nabble.com/Graphic-LRS-creator-tp21745323p21783257.html Sent from the Free Pascal - General mailing list .

Reply by email

Unknown author
to leledumbo

Thank's leledumbo!

I don't have many time to test it under windows...

Corrected version is available...

2009/2/2 leledumbo

Show quoted text 40 lines
I notice that it's not directly compilable under Windows. First, you have some syntax errors: {$ifdef MSWINDOWS} newLine = chr(13)+chr(10) // missing semicolon!!! {$else} newLine = chr(10); {$endif} I suggest LineEnding constant instead. And I don't know about you, but this doesn't (and shouldn't) work: procedure ...(...,pattern: string; ...); const {$ifdef MSWINDOWS} dirpattern = pattern; {$else} dirpattern = '*'; {$endif} ... Typed const won't work either, use var instead. One more thing: FNMatch is in UnixUtil, which is NOT available under Windows. Therefore, the conditional compilation switch is wrong: {$ifndef Unix} // should be {$ifdef} ... FNMatch(...) ... {$endif} Now it's compilable under Windows. -- View this message in context: http://www.nabble.com/Graphic-LRS-creator-tp21745323p21783257.html Sent from the Free Pascal - General mailing list . _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email