AnsweredAssumed Answered

Deployment problems with C++ sdk for 100.5 runtime windows using msvc2017_64

Question asked by selimozel on May 28, 2019
Latest reply on May 29, 2019 by LDanzinger-esristaff

My problem is actually quite similar to the one posted in [1]. I am trying to deploy one of the sample apps at the moment, GetElevationAtPoint. I build it as release on my Windows 10 laptop. Afterwards, I copy the executable to an empty folder. In that folder I run:

C:\Qt\5.12.2\msvc2017_64\bin\windeployqt.exe --release GetElevationAtPoint.exe

There are still some .dll files left. I grab (and copy under my release folder) runtimecore.dll, ArcGISRuntimeToolkitCppApi.dll and EsriCommonQt.dll from:

C:\Program Files (x86)\ArcGIS SDKs\Qt100.5\sdk\windows\x64\bin

I do the same with all .dll files under:


Finally I copy vcruntime140.dll and msvcp140.dll from the folder:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Remote Debugger\x64

Once these steps are completed, the app actually runs on a target machine. However, it gives me a complete white screen. I can still see some of the UI artifacts but the main map layout is just complete white. 

I haven't been able to figure out why that is the case so far. Some help would be great. I should also mention that I haven't added any license token to the code. Is that required? This is just an in-house release for testing, so it's not going to customers or outside world. 

Finally, the app seems to be 300 mb with all .dll files and everything. Is it possible to reduce that size?

Thanks a lot!