Solved

Compiler directive WIN32

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

18 Experts available now in Live!

Get 1:1 Help Now