In the docs, it says
This AttachThreadToClarion function must be called by the launching thread to attach it to the thread handler in the runtime library. Without this call, any attempt within the thread to use thread dependent Clarion functions and operations (all string and decimal operators, BIND/EVALUATE, ERROR/ERRORCODE, most FILE statements, etc.) will cause a program termination.
Is there a list of what’s not included?
I’m assuming, so could be wrong, that the Program clw is called, so global vars, classes and everything you’ll find beneath the PROGRAM statement is initialised.
The app hangs on this line of code
Access:ServiceControlLog.SetName(GFP:ServiceControlLogFile)
Compile('_***_',ISEQ:Debug)
DSS('SetFilenames : Access:ServiceControlLog.FileName (' & Clip(Access:ServiceControlLog.FileName) & ')' )
DSS('SetFilenames : Access:ServiceControlLog.FileNameValue (' & Clip(Access:ServiceControlLog.FileNameValue) & ')' )
_***_
Its the first time, I start to make changes to the filemanager for a file, and at this stage the file isnt even open but cant rule out Window’s Defender causing the problems despite having exceptions set up for the service I’m building.
Disabling Windows Defender Realtime protection doesnt make a change either, and to be honest this laptop is playing up big time, to the point I might wipe it and reinstall Windows 11 again.
TIA