@normeus: Yes, my app is indeed loading "oleacc.dll" but without a direct path. Currently like this:
Code: Select all
Global oleacc=OpenLibrary(#PB_Any,"oleacc.dll")
This was because I used this code ->
https://www.purebasic.fr/english/viewto ... 29#p495029
So basically are you saying I should be hard-coding all system OpenLibrary() commands now with their full path?
@skywalk: I was able to finally ditch the last ASM code I had, so I'll try compiling with the C backend instead of ASM.
@tored: I will try that for a few days and see how it goes. No threads read the same memory; they only manipulate their own local protected variables. No GUI updates in those threads.
@juergenkulow: The decimal error value is because I was using this code ->
https://www.purebasic.fr/english/viewto ... 92#p491192
It has these lines, but I changed "Exception" to "Error Code":
Code: Select all
Procedure.s DecodeException(e.i)
[...]
sCode.s = "Exception 0x" + Hex(e) + " (" + Str(e)+") <undefined>"