Yes we are sure.
Part of our application is running in AutoCAD, and on 64bits systems only the 64bit version of AutoCAD is supported / running / installable.
Main Topics
Browse All TopicsHi,
Is it possible to use Freepascal as a 64bit compiler for delphi?
Our projects are currently build with Delphi 2007 and we need a 64bit version (and a 32bit) version of our software. Is it possible to use FreePascal as a commandline compiler for our project to build a 64bit version?
The debugging should be done in the 32bits Delphi version, and a nightly build shoul build the 64bit version.
How to setup my FPC projects, which settings to use. Can i use the delphi vcl to be used in my projects or is the LCL required?
The projects includes com objects, typelibraries, com objects and interfaces
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
In response to your first question and not knowing anything about your project, Yes a Delphi application can be compiled in Lazarus and under FPC's 64 bit compiler on a 64 bit OS machine. As far as doing it from a FreePascal command line, No! There is way too many modifications needed in your Delphi source code/project that will have to be made.
It is not an easy task... expect almost a rewrite of your application and especially when using customized components, COM and other objects.
Lazarus and Free Pascal is no where near 100% compatible with Delphi.
The first step would be use Delphi to Lazarus conversion... Info is found here.
http://wiki.lazarus.freepa
Once you get the code Free Pascal ready, then you can compile it under FPC or Lazarus using FPC.
I tried it on a fairly simply project I wanted to port to Linux. And... it wasn't worth it.
Just my .02 cents and I wish you good luck!
John
We have some options for our project:
- rewrite in .net with WPF
- compile with Delphi.net, a lot of rewrite and a have use of Virtualtree....
- create a out of process com server and create some OLE objects to interface with our GUI. But then we become registry dependant which we avoided until now
- wait for delphi win64 version, very uncertain when it will be ready
-use free pascal with maybe a lot of changes but if we do it carefully we can keep it single source with w32 delphi for a long time
So we have some options here, but they take all a lot of work and or time
OLE support is present but still "buggy". Never used it and don't pretend to know how to use it.
Have seen nothing for COM objects....
You really ought to read the docs on Lazarus and Free pascal.
They are great Open Source and Free projects done by some very intelligent people with a lot of spare time, (obviously?), but because of this there are inherent problems, bugs and other things that just won't do what you want it or need it to do.
I am certain that all of this can be over come with sufficient time and effort and digging into the heart of these projects.
As far as your original question, you probably will never get your complex project running under Free Pascal without a complete rewrite including all of your COM and OLE objects.
Good luck!
John
delphi 64 bit is planned for mid 2010, http://edn.embarcadero.com
Hi BdLm,
Yeah i know the story, but they have said it before, so i'm no longer counting on it. Besides it's their first public 64bit compiler. I'm afraid it will be delayed even more. (years ago the promise was mid 2008)
Delphi missed the 64bit boat years ago and i think a lot of potential customers with it. I'm very glad with theunicode versions of delphi, they work great (only tested on personal projects) and it looks like they are back on track. But probably too late for my company and we are currently switching our new projects to c++ and dot net.
Hi Johnjces,
Thanks for all you're input. Unless someone else hassome new input i will conclude this question:
- moving our projects to FPC/Lazarus is too much work with lot of unsupported features like COM and OLE
- replacing only the backend compiler by an FPC compiler (using build scripts and also building the VCL itself) is not an option
Business Accounts
Answer for Membership
by: Graceful_PenguinPosted on 2009-10-05 at 07:21:58ID: 25495484
Are you sure that you need a 64bit version? the 32bit version will run on a 64bit OS.