Jouke Rensma wrote:
I've sent the mail below earlier but apparantly it did not make it. Maybe due to the attachements? I now zipped them into one (smaller) file.
---
Hi all,
After some strugling, re-doing and starting from scratch again, I managed to
get the version information hooked into the compile process. With several
things still to do (see below), now I would like to know:
- Am I on the right track?
- Have I hooked in on the right places?
- Where did I go wrong, and where not?


I had a quick look at the code and it looked OK. However IMO the W32VersionInfo unit doesn't belong there. I don't see a problem with having a TVersionInfo class generating a .rc file for every platform. Then in some pre/post build step some .rc "compiler" can per platform:
 * compile a .res to be linked in or put it in an exe
   direclty (win32)
 * generate/edit a Info.plist and/or setup resource in the
   project.app dir (OSX)
 * maybe do something (some other platform)

Marc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to