10-13-2022, 02:04 PM
I think I found a bug...
I'm opening a file with the following function:
function str'T
str File="$my qm$\test.rtf"
T.setfile(File -1 -1 1)
Here's where the bug comes in. If I compile my code into an EXE it throws an error:
Error (RT) in <open "CreatFile /47">CreateFile: cannot open or create file: Access is denied. (0x5). <help #IDP_ERR>?
Now... if I run that file manually in the QM interface, it has no problems whatsoever. Only happens when I attempt to run it after its compiled to an EXE.
I'm opening a file with the following function:
function str'T
str File="$my qm$\test.rtf"
T.setfile(File -1 -1 1)
Here's where the bug comes in. If I compile my code into an EXE it throws an error:
Error (RT) in <open "CreatFile /47">CreateFile: cannot open or create file: Access is denied. (0x5). <help #IDP_ERR>?
Now... if I run that file manually in the QM interface, it has no problems whatsoever. Only happens when I attempt to run it after its compiled to an EXE.