You are not logged in.
When rebuild mORMot as a bpl, I had this warning:
[dcc64 Warning] W1032 Exported package threadvar 'mORMot.ServiceContext' cannot be used outside of this package
Should ignore this?
Offline
No please check https://synopse.info/files/html/Synopse … #TITLE_410
If your code is compiled within some packages, threadvar read won't work, due to a Delphi compiler/RTL restriction (bug?). In such case, you have to call the following function instead of directly access the threadvar:
function CurrentServiceContext: TServiceRunningContext;
Offline