castle-engine · GitHub

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.

Screenshot

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:

Read the original on github.com ↗