Solved

Compiler directive WIN32

Posted on 1998-08-10
1
182 Views
Last Modified: 2011-04-14
Where does this directive come from? I see it used in several Delphi-programs but can't figure out where it is set. The help-system stays silent about this directive.
0
Comment
Question by:detempel
1 Comment
 
LVL 4

Accepted Solution

by:
erajoj earned 20 total points
ID: 1361847
Hi,
Look in the help file for "Conditional symbols".

Delphi defines the following standard conditional symbols:

VER100      Always defined, indicating that this is version 10.0 of the Object Pascal compiler. Each version has corresponding predefined symbols; for example, version 10.1 would have VER101 defined, version 10.5 would have VER105 defined, and so on.

WIN32      Indicates that the operating environment is the Win32 API.

CPU386      Indicates that the CPU is an Intel 386 or better.

CONSOLE      Defined if an application is being compiled as a console application.

I.e. the Delphi compiler sets the WIN32 compiler directive when compiling a Win32 program automatically.

/// John
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now