Recent

Author Topic: [Solved] Help with changing an app  (Read 3354 times)

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Help with changing an app
« Reply #15 on: January 19, 2020, 01:48:44 pm »
See attached project, which required a slightly different data container.

Is this what you need?

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Help with changing an app
« Reply #16 on: January 20, 2020, 01:57:16 am »
YES !!!!!! :) :)


Thank you !!!
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: [Solved] Help with changing an app
« Reply #17 on: January 20, 2020, 07:27:35 am »
To get things working on Mac, see:

https://forum.lazarus.freepascal.org/index.php/topic,43041.msg340761.html#msg340761
https://macpgmr.github.io/ObjP/nsunits-src.zip

Edit: just forgot to add/mention.
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/blob/master/ns_url_request.pas
Its the fpcupdeluxe version of Phil's work; should (and could) be a direct replacement.

Code: Pascal  [Select][+][-]
  1. {$ifdef Darwin}
  2. aFPHTTPClient:TNSHTTPSendAndReceive;
  3. {$else}
  4. aFPHTTPClient:TFPHTTPClient;
  5. {$endif}
  6.  
« Last Edit: January 20, 2020, 08:02:29 am by DonAlfredo »

 

TinyPortal © 2005-2018