Solved

Compiler directive WIN32

Posted on 1998-08-10
1
189 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

830 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