2.8 Exception with String2Psz on Windows 2019 Servers
Posted: Mon May 03, 2021 7:32 am
We have some problems with the new X# runtime dlls on certain computers running as a 32bit program with the VO dialect.
It seems that it is related to the Operating system, because it happens only on our Windows 2019 Server machines, not on Windows 10 and not on Windows 2016 Server. The servers are virtual machines running under VMWare with Intel processors, but I don't believe that it is this the reason because the Windows 2016 Server is also a virtual machine running on the same host. I don't believe that it is Dotnet framework depending.
I can reproduce the problem with a simple console program. The exception happens immediately at the first occurence of String2Psz.
function testpszstring()
LOCAL s AS psz
local c as string
Console.WriteLine("start testpszstring")
s := String2Psz("COMCTL32.DLL")
c := psz2string(s)
Console.WriteLine("after psz2string"+c)
Can anybody confirm this error or has a suggestion what it can be?
Thanks
Arne
It seems that it is related to the Operating system, because it happens only on our Windows 2019 Server machines, not on Windows 10 and not on Windows 2016 Server. The servers are virtual machines running under VMWare with Intel processors, but I don't believe that it is this the reason because the Windows 2016 Server is also a virtual machine running on the same host. I don't believe that it is Dotnet framework depending.
I can reproduce the problem with a simple console program. The exception happens immediately at the first occurence of String2Psz.
function testpszstring()
LOCAL s AS psz
local c as string
Console.WriteLine("start testpszstring")
s := String2Psz("COMCTL32.DLL")
c := psz2string(s)
Console.WriteLine("after psz2string"+c)
Can anybody confirm this error or has a suggestion what it can be?
Thanks
Arne