Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 07/11/20 in all areas

  1. pyscripter

    Ssh library for Delphi

    Ssh-Pascal is a new free and open source library providing ssh support to Delphi, based on libssh2. Libssh2 is a mature ssh library used by PHP (built-in), Rust and many other languages and applications. Features: Extensive ssh features Support for different authorization methods (publickey, password, agent, hostbased and keyboard-interactive) Known host management. Execution of commands on the host capturing stdout and stderr Comprehensive sftp support Port forwarding (currently only local to remote) scp support High-level pascal-friendly, interface-based wrapping of ssh functionality. Lower-level usage is possible.
  2. Hi, I am a Norwegian developer with long term Delphi experience, I also have a lot of .NET experience. Started with Delphi 1 in 1995. I can work from home og at site in the Oslo area. Thank you in advance for any help. Svein Berger
  3. Remy Lebeau

    Whats the idea behind Dev-Cpp support ?

    Are you thinking of Borland C++Builder X? The Java-based IDE (using the JBuilder architecture) that was released after Borland EOL'ed C++Builder 6, and before CodeGear resurrected C++Builder in BDS 2005. Using wxWidgets with the Borland C++ BuilderX There is also TwinForms, which is a wxWidgets Form Designer for C++Builder.
  4. Remy Lebeau

    Whats the idea behind Dev-Cpp support ?

    C++Builder includes a Delphi compiler.
  5. Stefan Glienke

    Varialbe set to nil

    Use Weak<T> from Spring4D in any version before one that supports [weak] if you want proper cleanup of such weak references. Using the pointer approach will not do and you might run into AVs caused by dangling references.
  6. pyscripter

    Whats the idea behind Dev-Cpp support ?

    No it is written in Delphi pascal.
  7. David Champion

    tContainedObject, tAggregatedObject

    Here's a translated link to a Brazialian developer (Marcos Douglas B. Santos) who was wrestling with a better use of aggregates in his code. https://www.translatetheweb.com/?from=&amp;to=en&amp;dl=en&amp;rr=UC&amp;a=https%3a%2f%2fobjectpascalprogramming.com%2fposts%2fobjetos-agregados%2f Not exactly what you are asking but I found it interesting reading. Original article in Portuguese https://objectpascalprogramming.com/page6/
  8. Hi @bioman, thanks for pointing out compilation broke. I just fixed it: https://github.com/andrea-magni/MARS/issues/94 About the encoding, MARS is a layer of abstraction over the transport protocol (http). You implement your method (I guess) returning a Delphi string value. MARS serializes (where needed) the values to a stream that will be used as the response of the request. Then, it's the underlying http library (MARS supports Indy, WebBroker over Apache module and IIS ISAPI and, more recently, Delphi Cross Socket framework) that sends the content to the client. Indy has this trend of setting Content-Type=text/html; charset=ISO-8859-1 as default so sometimes you get it (when using Indy/WebBroker as http layer for MARS). MARS (and Indy neither) can't easily say if your string is a UTF8 or MBCS or ANSI string, but you should know for sure. So, if you are sending an UTF8 content in your string, mark your resource/method with an Encoding attribute stating so. [GET, Path('geoconding.html'), Encoding('UTF-8')] function MyContentGenerator: string; Let me know if you solve this way! Sincerely, Andrea
×