Sign in Join

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

Mailing lists / fpc-devel / 2000-09

win32 resource compiling (2nd try)

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Pápai András

Hi developers,
a few weeks before I sent you a correction in comprsrc.pas. This solved 1 problem, but _created_another_ones_ (incorrect include-dir passed to windres, not working when utils dir specified). I attached a diff file, which seems to be correct:
- finds and calls windres.exe (not windres.exewindres.exe)
- works if utils-dir not specified, works if it is
- passes windres.exe's dir as default include dir to windres.h

I wrote this from 1.0 release, if it's changed, and the bug does not exist in the last snapshots, just ignore me. :)

Andras

69a70

tmp_str;

78c79,82
< respath:=FindExe(target_res.resbin,resfound); ---

begin resbin:=FindExe(target_res.resbin,resfound); FSplit(resbin,respath,tmp_str,tmp_str); end;

Reply by email

Unknown author
Show quoted text 12 lines
Hi developers, a few weeks before I sent you a correction in comprsrc.pas. This solved 1 problem, but _created_another_ones_ (incorrect include-dir passed to windres, not working when utils dir specified). I attached a diff file, which seems to be correct: - finds and calls windres.exe (not windres.exewindres.exe) - works if utils-dir not specified, works if it is - passes windres.exe's dir as default include dir to windres.h I wrote this from 1.0 release, if it's changed, and the bug does not exist in the last snapshots, just ignore me. :)

Did you try it with a snapshot. Becuase i first applied your patch and then fixed some more things that could solve the above problems.

Reply by email

Pápai András

I had no time yet. I'll download the snaps now. Thanx. Andras

Did you try it with a snapshot. Becuase i first applied your patch and then fixed some more things that could solve the above problems.

Reply by email