5/15/2019

Delphi Compiler Defines

Real 64-bit compiled perl on HPUX 11.11, using proper ANSI 64-bit capable C compiler
I'm using the latest stable release (5.6.1), and perl compiled in 64-bit mode on HPUX (yes, I passed the correct parameters to Configure). It fails a couple of routines under the test suite (numconvert and b). I also read the README.hpux, and saw the rather disheartening remark in there about 64-bit compiled perl and perl not being fully 64-bit compliant yet. However, I'm kindof stuck, because I need to build Sybase extensions onto my perl, and as of Sybase 12.5 I only get 64-bit libraries, no more 32-bit libraries ... This can be a major show-stopper, and although I...
64 bit Delphi IDE
Hi, Delphi XE7 IDE rapidly consume memory when loading and compiling my project several times. 64 bt IDE, pass 1 GB memory boundry is my URGENT NEED. Thanks Tugrul Tugrul Tamturk wrote: > Delphi XE7 IDE rapidly consume memory when loading and compiling my > project several times. > > 64 bt IDE, pass 1 GB memory boundry is my URGENT NEED. IMHO it would be better to fix memory leaks which gobble memory... -- Alex 'Alex Belo' <b.a.v@inbox.ru> wrote in message news:725618@forums.embarcadero.com... > Tugrul Tamturk wrote: > >>...
How to target 64 bit compiler in IDE?
I saw David I's blog with a example of a C++ 64 bit program. I Have C++ Builder XE3 professional update 1 so I tried to create a project using the program. And tried to compile it. It failed because it did not recognize __asm__ in the program then I realized the target was 32 bit in the IDE. I tried to find a 64 bit choice in the IDE but did not find. I looked in the bin directory saw that there was a bcc64.exe. How do I use the IDE to target the 64 bit compiler? Thank You, Gary Olson Gary wrote: > I tried to find a 64 bit choice in the IDE but did not find. I...
Delphi 2007 Vista 64 bit compiler problem
When I attempt to run an application from the IDE, I get the following message: 'ApplicationName' has stopped working. Check online for a solution later and close the program Close the program. I can run the application outside of the IDE without no problems. If I create a new project and run it with a blank screen, I can run it from the IDE. In the project source, I commented out all of the other forms and had the application create my main form. Problem arose. If I commented out the main form and had the application create a different form, no problem runni...
Delphi XE4 Update1: 64 bit compiler: no hints
Is this already known? The 64 bit compiler gives no hints. program Project2111; {$APPTYPE CONSOLE} uses SysUtils; function Get: Integer; var Counter: Integer; begin Result := -1; Counter := 1; //[dcc32 Hint] Project2111.dpr(13): H2077 Value assigned to 'Counter' never used //[dcc64 Hint] NO HINT! end; begin writeln(GetNumber); readln; end. ...
64 bit cpu // 64 bit Os version // 64 bit powerbuilder?
Hi guys, Does anyone know if Powebuilder is available in 64 bit? Kind regards A 64-bit version of PB does not (yet) exist. -- HTH Arnoud Url: http://www.gloriant.be Also check out my PB Reference site : http://www.pbinfo.be 'Gunther Huygens' <ghuygens@be.xrt.com> wrote in message news:eoSjDRaCDHA.331@forums-1-dub... > Hi guys, > > Does anyone know if Powebuilder is available in 64 bit? > > Kind regards > > > > Since there are no OS Windows 64 bits, i wonder how it could be possible. Since there is a 64 bi...
Solaris 9 64-bit, Oracle 9.2 64-bit configure, compile, test scripts
Tim's instructions stated to post when the 'standard no option' = configure failed so here goes... I used a string of =3D's to separate the files I cat'd to this email. Solaris 9 64-bit Oracle 9.2.0.3 64-bit perl 5.8.0=20 output from perl -V: Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=3Dsolaris, osvers=3D2.9, archname=3Dsun4-solaris uname=3D'sunos ohsun3 5.9 generic_112233-05 sun4u sparc = sunw,ultra-250 ' config_args=3D'-Dprefix=3D/usr/local/perl-5.8.0 -Duse64bitall=3Dy = -Dcc=3Dg...
BDE.DBTables Error while compiling Delphi dll in 64 bit. [Edit]
I am compiling 32 bit dll developed in delphi with 64 bit target setting on Delphi XE2 trial version on windows 7. There is only one error when I do that: F1026 File not found: 'Bde.DBTables.dcu' (unit scope 'Bde' indicates Win32 only) After googling , I came to the conclusion that BDE doesn't support on 64 bit.? When I look in the install directory win32 folder contains Bde.DBtables.dcu but in win64 , It isn't there. ? what should I do to avoid this error now. P.S: The dll is already compiling successfully in 32 bit target setting on Delphi XE2 trial v...
64 bit OS/32 bit compiler
Need to know whether an executable compiled on a 64 bit OS with a 32 bit compiler will process on a 32 bit OS. Has anyone had any experience with this? wayne wrote: > > Need to know whether an executable compiled on a 64 bit OS with a 32 bit > compiler will process on a 32 bit OS. Has anyone had any experience with > this? Depends on whether it was linked with the 32bit or 64bit libraries. -am � 2001 ...
Compiling on 32-bit, deploying on 64-bit?
My development machine runs 32-bit Win XP. I want to compile my Web Deployment Project, and copy the whole thing over to a 64-bit Server 2003 box. Can I do that? Or do I need to compile on a 64-bit machine? Not all databases have 64 bit odbc drivers. SQL Server does but access does not. So as long as you are using a database that has a 64bit driver it should be ok.Silverlight-helpVb TipsSpace Coast .Net User Group...
is there a support for 128 bit at 64 bit delphi?
Hi, There is one bcd number has 20 digit. But it doesn't fit into 64 bit. It needs 66 bit to store. Anyway I need to convert this 20 digit number to hex format. I mean, input is 20 digit bcd number as string, output should be hexadecimal number as string. What is the pratical way to do this? Thank you. > {quote:title=Mehmet Fide wrote:}{quote} > Hi, > > There is one bcd number has 20 digit. But it doesn't fit into 64 bit. > It > needs 66 bit to store. Anyway I need to convert this 20 digit number > to hex format. I mean, input is 20 digit bc...
is there a support for 128 bit at 64 bit delphi?
Hi, There is one bcd number has 20 digit. But it doesn't fit to 64 bit. It needs 66 bit to store :/ Anyway I need to convert this 20 digit number to hex format. I mean, input is 20 digit bcd number as string, output should be hexadecimal number as string. What is the pratical way to do this? Thank you. Am 22.02.2012 19:20, schrieb Mehmet Fide: > Hi, > > There is one bcd number has 20 digit. But it doesn't fit to 64 bit. It > needs 66 bit to store :/ Anyway I need to convert this 20 digit number > to hex format. I mean, input is 20 digit bcd numbe...
Delphi 64 bit / Future Direction of Delphi
I am responding to the various requests for 64 bit and the discussion about the future direction of Delphi. I have a small company - we write software for new and used auto dealerships - sales and finance - coming out with accounting now and parts and service in the next few years. Our customers don't care about 32 bit vs 64 bit, etc. They want me to provide simple and convenient solutions to make their jobs easier. We have stuck with Delphi 5 for many years - I should have upgraded 5 years ago but it did the job. We are now in the early stages of a significant up...
Excel 64-bit and Delphi 32-bit
Hi, Any known issues with using Excel 2010 64-bit with a Delphi 32-bit app (Delphi 2009) My app uses the ExcelXP TExcelApplication object and nothing real fancy. I basically opens Excel, gets a list of all the ranges, and then updates the cells. It works fine with Excel 2007 but I have one customer who is reporting problems and he has Excel 2010 64-bit. Also, is there a way for my app to determine if Excel is 32 or 64-bit so that I can log an appropriate message. -- Bob Small I think one the main points of the new Delphi 64-bit compiler was that it was required to be able...
If you plan on writing Delphi code that should work with several versions of the Delphi compiler then we first need to know under which versions our code gets compiled. Suppose you are writing your own (commercial) custom component. Users of your component might have different Delphi versions than you have. If they try to recompile the component's code - they might be in trouble! What if you were using default parameters in your functions and the user has Delphi 3?
These are symbols that can be used in $IFDEF /$ENDIF conditional compilation directives.
{$IFDEF VER50} - Turbo pascal 5
{$IFDEF VER60} - Turbo pascal 6
{$IFDEF VER70} - Borland pascal 7 (And turbo pascal 1.5 for windows)
{$IFDEF VER90} - Delphi 2
{$IFDEF VER120} - Delphi 4
{$IFDEF VER140} - Delphi 6
{$IFDEF VER160} - Delphi 8
{$IFDEF VER180} - Delphi 2006
{$IFDEF VER185} - Delphi 2007
{$IFDEF VER210} - Delphi 2010
{$IFDEF VER230} - Delphi XE2
{$IFDEF VER250} - Delphi XE4
{$IFDEF VER265} - Appmethod 1.0
{$IFDEF VER280} - Delphi XE7
{$IFDEF VER300} - Delphi 10 Seattle
{$IFDEF VER310} - Delphi 10.1 Berlin
Example
//some delphi 7-specific code here
{$ENDIF}
//some delphi 2010-specific code here
{$ENDIF}
//some delphi 10-specific code here
{$ENDIF}
CompilerVersion constant
The CompilerVersion constant was introduced in Delphi 6 along with conditional expressions. The CompilerVersion constant identifies the internal version number of the Delphi compiler. It is defined in the System unit and may be referenced either in code just as any other constant.
We can use CompilerVersion constant in following ways...
sCompilerName := 'Delphi 7';
sCompilerName := 'Delphi 2009';
sCompilerName := 'Delphi 10 Seattle';
in conditional compiler expressions:
// some code only compiled for Delphi 2007 or later
{$if CompilerVersion >= 25}
// some code only compiled for Delphi XE4 or later

Conditional Define constants for Windows, Linux and Delphi
To write different code in a single file that targets Windows, Linux and Delphi you could use this type of conditional compilation block:
//do Linux-specific code here
{$IFDEF MSWINDOWS}
{$ENDIF}
//do .NET-specific code here
{$ENDIF}
Or alternatively this form, which is functionally equivalent:
//do Linux-specific code here
//do Windows-specific code here
//do .NET-specific code here
{$IFEND}