Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/Delphi/Interaction with UI    [ Add a report in this area ]  
Report #:  79227   Status: Open
Version conditional does not work in package project for suffixing
Project:  Delphi Build #:  1
Version:    14.0 Submitted By:   Jaroslav Benes
Report Type:  Crash / Data loss / Total failure Date Reported:  11/4/2009 4:54:08 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   273543
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Steps to Reproduce:
1/ create new dpk file with default values

2/ insert follow code into directives (it is origin from file DelphiX.dpk)

{$DESCRIPTION 'DelphiX - DirectX components for Delphi'}
{$IFDEF VER200} { Borland Delphi 2009 12.x }
{$LIBSUFFIX '120'}
{$IFDEF VER210} { Borland Delphi 2010 14.x }
{$LIBSUFFIX '140'}

3/ compile under Delphi 2010 (and for check under Delphi 2009)

a) Result for Delphi 2009

  package name is modify by suffix to DelphiX120.bpl

b) Result for Delphi 2010

  package name is NOT modify by suffix to DelphiX.bpl - version is ignoring.

1/ For reapir this problem I have to create separate file withour suffixing like DelphiX120.dpk and DelphiX140.dpl


Server Response from: ETNACODE01