Compiling on Delphi XE

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34748
    kevin
    Participant

    In Delphi XE, in the function “MakeIconFromPng”, in sGlyphUtils.pas, the following line won't compile:

    Png.AssignTo(ImgBitmap);

    “Undeclared identifier AssignTo”

    Have I not configured something correctly?

    #46589
    Support
    Keymaster

    Hello

    You should be sure that files from old version of AlphaControls are not exists on your PC.

    If you want I can connect to this PC and solve an issue remotely.

    #46611
    kevin
    Participant
    'Support' wrote:

    Hello

    You should be sure that files from old version of AlphaControls are not exists on your PC.

    If you want I can connect to this PC and solve an issue remotely.

    I ended up directly adding Embarcadero's pngimage unit to the project, which fixed it.

    As a matter of interest, do you know a way of finding out the location of a unit that Delphi finds when it is compiling? That way I can remove the offending unit.

    #46614
    Support
    Keymaster
    'kevin' wrote:
    As a matter of interest, do you know a way of finding out the location of a unit that Delphi finds when it is compiling? That way I can remove the offending unit.

    If you searching a source file (Pas) then you can press “Ctrl+Enter” in the Delphi editor when cursor is placed on name of unit in the 'uses' part.

    Otherwise you can search 'Dcu' files in all directories which are defined in the Delphi search path (and in the project directory).

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.