On 7/23/06, Mark Morgan Lloyd <[EMAIL PROTECTED]> wrote:
Is there a preferred directory organisation for this sort of thing? I'm assuming that I will end up with distinct forms and user-interface code for Delphi and Lazarus but do I also need to maintain parallel Lazarus projects by target processor and OS?
You don´t need distinct user-interface code, only distinct visually designed forms. And with that I mean, a LFM file for lazarus and a DFM file for Delphi. When you change one of them, the other isn´t automatically updated, so this is a problem. On Lazarus a single project is enougth for any number of platforms. If you have any platform specific code, just enclose it with IFDEFs and everything should be fine. One of my projects, the Virtual Magnifying Glass, has visually designed forms, and can be compiled with either Delphi 5 to 7 or Lazarus (at least on Windows, Linux and FreeBSD). It can probably help you understand how to keep the same code compilable with both compilers, and maintain a project like that. You can download the full source code here: http://sourceforge.net/projects/magnifier/ thanks, -- Felipe Monteiro de Carvalho _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
