32-bit VCL Errors

Question:
I’ve downloaded some components for use in Delphi 2.0, but I can’t get them to install into the VCL. Even the 32-bit dedicated ones come up with an error saying that WinTypes.pas can’t be found. The number accompanying the message is either 30, 31 or 32. It also refers to cmplib32.dpr, which doesn’t seem to exist.

I asked someone on #Delphi, and they said WinTypes.pas isn’t needed under 2.0.Many of them are DCUs, so I can’t check the source to try and find out what the included units are.

Answer:
WinTypes, WinProcs and WinErrs are all part of Delphi 1.0. In Delphi 2.0,they’ve all been incorporated into Windows.PAS. But as you’re experiencing,some components have declared these units in their uses clauses. So what todo? Follow these steps:

  1. Click on Tools|Options to open the Environment Options dialog box
  2. Click on the Library tab
  3. In the Aliases group’s Unit Aliases field, make sure you have the following:WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDEThese are substitutions. Any time the compiler sees either of these entriesin the uses section of a unit, it will compile the appropriate substitutionunit. You probably have this field blank if you’re getting the error “Can’tfind unit WinTypes.”

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

microsoft careers

Top Careers at Microsoft

Microsoft has gained its position as one of the top companies in the world, and Microsoft careers are flourishing. This multinational company is efficiently developing popular software and computers with other consumer electronics. It is a dream come true for so many people to acquire a high paid, high-prestige job

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS