Asynchronous download
Demonstrates using TCastleDownload to download files asynchronously, i.e. without blocking the main application while it waits for the download to finish.
Using Castle Game Engine.
On Windows, make sure to use OpenSSL DLLs to have HTTPS support
Both FPC and Delphi code paths use OpenSSL to implement HTTPS support.
We strongly advise to compile at least once using CGE editor that will place the appropriate DLLs automatically alongside your EXE. Afterwards you can build using CGE editor or from Delphi or Lazarus IDEs, the DLLs will be in place.
If you really must do it manually, get the 2 necessary DLLs from these locations:
Building
Compile by:
-
CGE editor. Just use menu items "Compile" or "Compile And Run".
-
Or use CGE command-line build tool. Run
castle-engine compilein this directory. -
Or use Lazarus. Open in Lazarus
remote_logging_standalone.lpifile and compile / run from Lazarus. Make sure to first register CGE Lazarus packages.
