Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

D2007 project to D2009.

edited June 2009 in General
Hi!

I got a report-project created i D2007 that i now want to move to D2009.
When i attempt to compile this i get the error '[DCC Error]
ppCharacter.pas(310): E2010 Incompatible types: 'SysUtils.TBytes' and
'ppCharacter.TBytes'. How can i correct this?

Best regards,
Terje

Comments

  • edited June 2009

    The RB source contains conditional compilation directives. These are defined
    in ppIfDef.pas, which is installed with the product.

    The compiler error you are receiving indicates that you are not using the
    correct ppIfDef.pas. Perhaps you have an old copy of ppIfDef.pas in your
    project, your project directory, or on the library path somewhere.

    Make sure you install RB 11 for D2009 and that the D2009 library path points
    to the relevant location. The default path is Program Files\CodeGear\RAD
    Studio\6.0\RBuilder\Lib


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2009
    Due to some errors in RB a couple of months ago i uninnstalled RB from my
    computer. I innstalled RB 11.04 and this is the version that is in use. I
    have several applications with RB-components that compiles ok, it's only one
    application that gives me this error. Could you please send me this
    ppIfDef.pas for 11.04 to see if that will solve it?

    Best regards,
    Terje



  • edited June 2009
    The .dproj file had a lot of references to D2007 lib and that was the cause
    of the problem.
    I deleted this so it was recreated and problem was solved.

    Thanks.
    Terje

This discussion has been closed.