I'm getting error 13 when I try to use any of the methods, even the create context is giving me this error. I'm using a clean windows 10 virtual machine running windows 1903 and LabVIEW (32-bit) 2020.
I have tried it on other Virtual machines, but it's working on those. The problem is, if I can't figure out why it isn't working on this clean vm, does it have an dependency to some thing I haven't installed? Is there a way to debug this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's pretty likely to be the MSVC runtime DLLs - if you don't have the same version of the runtime then it's likely it will fail to load and give error 13. Most PCs end up having a huge number of parallel MSVC versions installed by different apps - which is probably why it succeeds on most machines, but not on a blank VM.
Hi,
I'm getting error 13 when I try to use any of the methods, even the create context is giving me this error. I'm using a clean windows 10 virtual machine running windows 1903 and LabVIEW (32-bit) 2020.
I have tried it on other Virtual machines, but it's working on those. The problem is, if I can't figure out why it isn't working on this clean vm, does it have an dependency to some thing I haven't installed? Is there a way to debug this?
It's pretty likely to be the MSVC runtime DLLs - if you don't have the same version of the runtime then it's likely it will fail to load and give error 13. Most PCs end up having a huge number of parallel MSVC versions installed by different apps - which is probably why it succeeds on most machines, but not on a blank VM.
Most likely you need msvcr100.dll, which you can get here: https://www.microsoft.com/en-us/download/details.aspx?id=8328
For W10 64bits and LV 32bits 2021 runtime, uninstall VC++2010 x86 and then install winsdk_web from https://www.microsoft.com/en-us/download/details.aspx?id=8279.
This recipe also worked with Windows 7 64bits and LV32bits 2019 runtime.