python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to share data between a TThread in a DLL and the main thread?
I'm writing a DLL in C++Builder XE6, that creates a separate thread (derived from TThread) to retrieve JSON data from a REST server every X seconds (using TIdHTTP), and parse the JSON data.
The thread...
Martin Nijhoff
Votes: 0
Answers: 1
C++Builder Compiler Version
If I can do this in Delphi,
{$IFDEF VER350}
/* Declare, define, do stuff ... */
{$ENDIF}
why can't I do this in C++Buider,
#ifdef VER350
// Declare, define, do stuff ...
#endif
How do I get ...
Mark Di Val
Votes: 0
Answers: 1
How to handle authentication with TIdHTTP
I'm using C++Builder XE6 and TIdHTTP to communicate with a REST server in a Windows application.
I need some advice on how to handle authentication.
Given the following code:
#include <IdHTTP.hpp&g...
Martin Nijhoff
Votes: 0
Answers: 1
Infinity in Delphi unit is translated to +INF in .hpp file
I'm using C++Builder XE6 and wrote the following Delphi unit:
unit JSONUtils;
interface
uses
System.JSON, System.Math;
function GetJSONDouble (Value: TJSONValue; Path: string; Default: Double = I...
Martin Nijhoff
Votes: 0
Answers: 1