Menu

#6 Install / Compile Error

open
nobody
None
5
2013-01-15
2004-05-05
No

On D6 enterprise the update pack 2...

Trying to compile and install:
XMLPartner_PD60.dpk

I receive this error:
[Error] RLINK32: Unsupported 16bit resource in
file "G:\Program Files\Borland\Delphi6
\Source\XMLPartner\packages\..\source\XpReg.pas"

Others have reported this same problem on D6.

Any ideas?

Discussion

  • Kevin Oleniczak

    Kevin Oleniczak - 2004-05-05

    Logged In: YES
    user_id=1035477

    A little more info...

    I tried to compile and install the D7 version...

    XMLPartner_PD70.dpk

    and that appears to work?!?

    I think the problem is related to the component icons for
    XpParser and XpObjModel on the tool bar.

     
  • Nobody/Anonymous

    Logged In: NO

    See Tracker: Typos in 2.60 beta 1 for a fix for this. The
    XMLPartner_PD60.dpk has two lines malformed in it.

     
  • Nobody/Anonymous

    Logged In: NO

    The error is caused by a couple of apexes in the dpk file.

    The correct version of XMLPartner_PD60.dpk is the following :

    package XMLPartner_PD60;

    {$R *.res}
    {$R '..\source\XpReg.dcr'}
    {$ALIGN 8}
    {$ASSERTIONS OFF}
    {$BOOLEVAL OFF}
    {$DEBUGINFO OFF}
    {$EXTENDEDSYNTAX ON}
    {$IMPORTEDDATA ON}
    {$IOCHECKS ON}
    {$LOCALSYMBOLS OFF}
    {$LONGSTRINGS ON}
    {$OPENSTRINGS ON}
    {$OPTIMIZATION ON}
    {$OVERFLOWCHECKS OFF}
    {$RANGECHECKS OFF}
    {$REFERENCEINFO OFF}
    {$SAFEDIVIDE OFF}
    {$STACKFRAMES OFF}
    {$TYPEDADDRESS OFF}
    {$VARSTRINGCHECKS ON}
    {$WRITEABLECONST ON}
    {$MINENUMSIZE 1}
    {$IMAGEBASE $400000}
    {$DESCRIPTION 'TurboPower XMLPartner Professional
    Designtime package - VCL60'}
    {$DESIGNONLY}
    {$IMPLICITBUILD ON}

    requires
    designide,
    XMLPartner_PR60;

    contains
    XpReg in '..\source\XpReg.pas';

    end.

     
  • Nobody/Anonymous

    Using this modification stopped the RLINK32 error for me. The telling correction is the use of the .dcr extension on the "{$R '..\source\XpReg.dcr'}" line. The old "{$R '..\source\XpReg.pas'}" screwed up.
    As a related problem, there's a syntax error down at the file's bottom saying " XpReg in '..\source\XpReg.pas'XpReg.pas';" This should read " XpReg in '..\source\XpReg.pas';"
    Happy compiling.

     

Log in to post a comment.

MongoDB Logo MongoDB