[Lazarus] Porting Delphi to Lazarus

Jon Bertrand JonB at cirris.com
Fri Mar 14 20:15:54 CET 2008

Is this an OLPC project or just a Jam to get the VistA going on Linux?

-----Original Message-----
From: lazarus-bounces at lazarus.freepascal.org [mailto:lazarus-bounces at lazarus.freepascal.org]On Behalf Of drew einhorn
Sent: Friday, March 14, 2008 12:17 PM
To: lazarus at lazarus.freepascal.org
Subject: [Lazarus] Porting Delphi to Lazarus


I'm organizing a team attending Health Jam Seattle
April 18-20


We will be porting the VA's VistA software frontends
to Lazarus/Free Pascal.  VistA is the IT infrastructure
that runs the VA's hospitals, nursing homes, and clinics.
It includes a complete Electronic Medical Record System.


We are hoping some Lazarus/Free Pascal developers will join us.

VistA CPRS Delphi source statistices

Count of files by extension

.avi 1
.bak 21
.BMP 1
.bmp 117
.~bpl 1
.bpl 1
.cfg 5
.dcp 1
.dcr 5
.dcu 18
.ddp 236
.~ddp 74
.dfm 252
.~dfm 85
.dklang 1
.doc 1
.dof 5
.dpk 4
.~dpr 1
.dpr 1
.drc 5
.~dsk 1
.dsk 2
.dsm 1
.html 1
.jcf 1
.JDF 1
.JGF 1
.jpg 1
.jsb 1
.jsd 1
.JSS 1
.map 1
.old 1
.~pas 100
.pas 326
.rc 1
.res 10
.~tlb 1
.tlb 1
.~txt 1
.TXT 1
.txt 2
.vpw 1
.we 1

.pas files total 204651 lines

We hope to have gotten past compilation issues by the
HealthJam, and be focusing on the necessary VCL
components missing from LCL.  But we may still 
be fighting compilation issues.

Been resisting the urge trying to extract the VCL calls
from the code.  Been hoping to get through the compilations
and get the linker or somthing to give me a count.

Folks who are familiar with the CPRS code to a quick look at: 


And noticed TFrame and TRichEdit are missing.  
There's almost certainly more.

I made a couple stabs at converting to Lazarus.

Most recent on a Ubuntu box using the testing repos

    lazarus 0.9.24 beta 5/11/07
    free pascal  2.2.0-1

Getting "safecall" errors at compile time.  I see stuff in the
bug tracker about "safecall" runtime issues not resolve till

So next thing I need to do is find the right vintage of Lazarus/Free Pascal.
Drew Einhorn 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080314/8f254be4/attachment-0007.html>

More information about the Lazarus mailing list