Menu

TFormatSettings

Help
2004-03-19
2004-03-23
  • Matt Henley

    Matt Henley - 2004-03-19

    When I try to compile from CVS, I get a undeclared identifier error: TFormatSettings.  Where is this?

    Using Delphi 5 Ent.

    MAtt

     
    • Matt Henley

      Matt Henley - 2004-03-21

      Okay, I have hacked around the TFormatSettings, just trying to get it to work for now... I added the record type and deleted references to it when calling the timedatetostr.  This compiles okay.. but I now get this error:

      [Error] WARNING. Duplicate resource(s):
      [Error]   Type  2 (BITMAP), ID TSLDATABASE:
      [Error]     File C:\sqlite4delphi\packages\..\source\SLDB.dcr resource kept; file ..\source\SLDB.dcr resource discarded.
      [Error]   Type  2 (BITMAP), ID TSLDATASET:
      [Error]     File C:\sqlite4delphi\packages\..\source\SLDataSet.dcr resource kept; file ..\source\SLDataSet.dcr resource discarded.
      [Error]   Type  2 (BITMAP), ID TSLFUNCTION:
      [Error]     File C:\sqlite4delphi\packages\..\source\SLFunAgr.dcr resource kept; file ..\source\SLFunAgr.dcr resource discarded.

      As far as I can tell, there is only one copy of any dcr... why am i getting this?  what is a dcr?

       
      • Michał Zaborowski

        There is new ver... Package for D5 is upgraded as well as SLTypes unit.

        TFormatSettings is new type in D7, so every StrToSomething can be converted with your params...

        The errors - package was not up to date.

        DCRs - they are files with glyphs for components' palette if none default glyph is used.

        Today I'm going to install Lazarus...

         
    • Matt Henley

      Matt Henley - 2004-03-23

      Thanks for the information. 

      If you need any help installing lazarus please let me know.  I will try to help although I have only done it for linux (are you trying linux or windows?)

      Words of wisdom:
      Install the CVS version of the FPC compiler or at least the latest beta, 1.9.x.  The older 1.11 doesn not support variants and lots of other stuff... plus they are not actively working on it.  Also, one gotcha is that if you have problems compiling 1.9.x, install a binary version of 1.11 as a bootstrapping step... I had to do this.  There is a good document on this at:  http://www.freepascal.org/moreinfo.html called the building faq.

      Once freepascal is installed and working... lazarus is cake.  download via cvs, move to the lazarus directory and make. 

      There is an existing sqlitedataset, but it seems very limited... no writing that i can see but it doesn not show up on the palette by default.

      If you have any questions email me at (mhenley at houston dot rr dot com) and I will try to help.

      MAtt

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.