How do you put the OBD on the Win program?



  • Use C++ Builder and SQLite. How do you deliver the OBD together with the program? I ran into Deployment, введите сюда описание изображения

    Link with runtime - false

    Link with Dynamic RTL - false

    Android BDEs are delivered as local, how do I put it on the Win?

    Maybe Remote Path should indicate what?



  • It's like this.

      FDConnection1->Params->Values['Database'] = IncludeTrailingPathDelimiter
        (System::Ioutils::TPath::GetDocumentsPath()) + 'tests.db';
    

    Read it. http://habrahabr.ru/company/delphi/blog/252345/ to create an application at the same time under Windows and Android. http://docwiki.embarcadero.com/RADStudio/XE8/en/Mobile_Tutorial:_Using_FireDAC_and_SQLite_(iOS_and_Android)

    From the website http://docwiki.embarcadero.com/Libraries/XE7/en/System.IOUtils.TPath.GetDocumentsPath

    Platform Example of route ID
    Windows XP C:\Documents and Settings\My Documents
    CSIDL_MYDOCUMENTS
    CSIDL_PERSONAL
    Windows Vista C:\Users\\Documents FOLDERID_Documents
    or
    Mac OS X /Users/Documents NSDocumentDirectory
    iOS Device /var/mobile/Applications/Documents
    iOS Simulator /Users//Library/Application Support/i Simulator/Applications/Documents
    Android /data/data//files Context.getFilesDir
    



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2