Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!
[Solved] Lazarus - Run error: A referral was returned from the server (Windows)
Delphi, Lazarus, Free Pascal
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter
August 7, 2016 2:13 AM
I occasionally get this error message, especially when developing on one platform (Mac for example) and moving the code to Windows.
When trying to run the compiled application (not rom the Lazarus IDE), you get the error message "A referral was returned from the server" and your application does not run.
To fix his, in Lazarus before compiling, go to "Project" -> "Project options".
Under "For Windows", uncheck the option "UI Access" under "use Manifest ...".
Recompile your application (I always like to do a clean build) and your problem should be gone, and your application still honors the Windows theme.