RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.ufWeakUnit Constant

Indicates that a unit is a weak unit.

Pascal
ufWeakUnit = $04;
C++
ufWeakUnit = 0x04;

The GetPackageInfo function returns information about the units within a package. TPackageInfoProc is one of the parameters to that function : it is a callback procedure that is invoked for each unit in the package. It passes a set of flags associated with each unit.  

If the ufWeakUnit is set, then the unit was compiled with the $WEAKPACKAGEUNIT compiler directive set. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!