brookframework icon indicating copy to clipboard operation
brookframework copied to clipboard

win11, lazarus, brookframework, libsagui-3.dll with tls doesn't work?

Open yxh38658 opened this issue 1 year ago • 0 comments

I tried to build the demo project of brookframework/Examples/Console/FPC /hellohttpsrv.lpr with lazarus v3.0 on win11 and having libsagui-3.dll(tls_win_amd64 version) in the project folder.

An error happend with the message: libsagui-3.dll is not loaded. It happened in libsagui.pas, line 1014: GHandle := SafeLoadLibrary(AName); GHandle is 0 after calling the SafeLoadLibrary function.

I tried to put the libsagui-3.dll file in project folder and/or windows/system32. But I always got that error.

I then download libsagui-3.5.0-windows_amd64.zip and put the libsagui-3.dll without tls in the project folder. The program works!

Something wrong when load libsagui tls_win_amd64 version dll?

image image

yxh38658 avatar Feb 20 '24 19:02 yxh38658