Currently when we are loading 2 Sketchup dds ( SketchUpAPI.dll && SketchUpCommonPreferences.dll ).
We are updating to Sketchup 2021 and we are replacing the above 2 dlls with the 2021 version.
On delay loading the SketchUPAPI.dll we are getting error code 126 (The specified module could not be found ) when calling LoadLibraryW.
Do you know what we need to do to resolve this error?
it turns out that the reason I’m getting error 126 is dued to missing vcruntime140_1.dll ( in 2021 but not in 2020 version of the sketchup ).
Anyhow i installed visual studio 2015-2019 redistributable ( which suppose to have the .dll ) and that appears to fix it.