Board logo

Subject: IFDEFs in DPK are removed on Compile/Build [Print This Page]

Author: tmcdos    Time: 2010-11-22 21:38     Subject: IFDEFs in DPK are removed on Compile/Build

I am using CnWizards 0.9.7.591 with Delphi 7.1 Enterprise
I am trying to compile and install NexusDB. I open NexusDB207dv70.dpk, which looks like this:

package NexusDB207dv70;

{$I nxpkgDefine.inc}

{$R *.res}
{$R 'nxdvRegister.dcr'}

.........

requires
  designide,
  dcldb,
  NexusDB207lg70,
  NexusDB207db70,
  {$IFNDEF NX_EMBEDDEDSERVER_ONLY}
  NexusDB207ch70,
  NexusDB207tw70,
  NexusDB207tn70,
  NexusDB207tc70,
  NexusDB207ts70,
  NexusDB207tm70,
  NexusDB207re70,
  NexusDB207si70,
  {$ENDIF}
  NexusDB207sq70,
  NexusDB207sr70,
  NexusDB207pv70,
  NexusDB207se70;

In the same moment when I press Ctrl+F9, conditional compiler directives disappear from the source code in editor - and
as a consequence, I receive compilation errors (missing units).
If I disable CnWizards with Delphi Distiller 1.85 - the above issue does not raise.

What additional information is needed in order to debug and resolve the issue ?




Welcome to CnPack Forum (http://bbs.cnpack.org/) Powered by Discuz! 5.0.0