AnsweredAssumed Answered

Plugin cannot be loaded for module "Esri.ArcGISRuntime"

Question asked by Supaidaman on Mar 22, 2020
Latest reply on Mar 23, 2020 by jballard-esristaff

I have an Qt Project that we NEED to run on Visual Studio 2019 for a variety of reasons.

 

At my work machine, I managed to properly load all the .DLLs related to the ArcGis Qt SDK. But right now we're working from home (at a notebook) and I can't make this dll load properly at all, even with all the dependencies on place. It seems that there is a problem at ntdll.dll but I have no clue what. It loads the Runtime properly but after an error at it, it just unloads all related dlls:

 

'geometria.exe' (Win32): Loaded 'C:\ArcGis\qt100.7\sdk\windows\x64\qml\ArcGISRuntimePlugind.dll'.
'geometria.exe' (Win32): Loaded 'C:\Projetos\Geometria_IV\Geometria\Debug\Qt5Positioningd.dll'.
'geometria.exe' (Win32): Loaded 'C:\Projetos\Geometria_IV\Geometria\Debug\Qt5Sensorsd.dll'.
'geometria.exe' (Win32): Loaded 'C:\Projetos\Geometria_IV\Geometria\Debug\EsriCommonQtd.dll'.
Exception thrown at 0x00007FF9E96DBF98 (ntdll.dll) in geometria.exe: 0xC0000139: Entry Point Not Found.

'geometria.exe' (Win32): Loaded 'C:\Projetos\Geometria_IV\Geometria\Debug\Qt5Multimediad.dll'.
'geometria.exe' (Win32): Loaded 'C:\Projetos\Geometria_IV\Geometria\Debug\runtimecore.dll'.
'geometria.exe' (Win32): Unloaded 'C:\Projetos\Geometria_IV\Geometria\Debug\runtimecore.dll'
'geometria.exe' (Win32): Unloaded 'C:\Projetos\Geometria_IV\Geometria\Debug\Qt5Multimediad.dll'
'geometria.exe' (Win32): Unloaded 'C:\Projetos\Geometria_IV\Geometria\Debug\EsriCommonQtd.dll'
'geometria.exe' (Win32): Unloaded 'C:\Projetos\Geometria_IV\Geometria\Debug\Qt5Positioningd.dll'
'geometria.exe' (Win32): Unloaded 'C:\Projetos\Geometria_IV\Geometria\Debug\Qt5Sensorsd.dll'
'geometria.exe' (Win32): Unloaded 'C:\ArcGis\qt100.7\sdk\windows\x64\qml\ArcGISRuntimePlugind.dll'

 

QLibraryPrivate::loadPlugin failed on "C:/ArcGis/qt100.7/sdk/windows/x64/qml/ArcGISRuntimePlugind.dll" : "Cannot load library C:\\ArcGis\\qt100.7\\sdk\\windows\\x64\\qml\\ArcGISRuntimePlugind.dll: Não foi possível encontrar o procedimento especificado."

 

The full dump in on the txt file I've upload.

 

For comparision's sake, here's how my computer at work behaves:

 

geometria.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'.
'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\QtQuick.2\qtquick2plugind.dll'. Symbols loaded.
'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\Qt5QmlWorkerScriptd.dll'. Symbols loaded.
'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\QtQuick\Controls.2\qtquickcontrols2plugind.dll'. Symbols loaded.
'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\Qt5QuickControls2d.dll'. Symbols loaded.
'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\Qt5QuickTemplates2d.dll'. Symbols loaded.
'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\QtGraphicalEffects\qtgraphicaleffectsplugind.dll'. Symbols loaded.
'geometria.exe' (Win32): Loaded 'C:\Program Files (x86)\ArcGIS SDKs\Qt100.7\sdk\windows\x64\qml\Esri\ArcGISRuntime\ArcGISRuntimePlugind.dll'.
'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\EsriCommonQtd.dll'.
'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\Qt5Positioningd.dll'. Symbols loaded.
'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\Qt5Sensorsd.dll'. Symbols loaded.
'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\runtimecore.dll'.
'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\Qt5Multimediad.dll'. Symbols loaded.
'geometria.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'.


'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\QtQuick\Layouts\qquicklayoutsplugind.dll'. Symbols loaded.
'geometria.exe' (Win32): Loaded 'D:\Projects\Geometria_IV\Geometria\Debug\QtQuick\Templates.2\qtquicktemplates2plugind.dll'. Symbols loaded.
'geometria.exe' (Win32): Loaded 'C:\Windows\System32\libssl-1_1-x64.dll'.
'geometria.exe' (Win32): Loaded 'C:\Windows\System32\libcrypto-1_1-x64.dll'.
'geometria.exe' (Win32): Loaded 'C:\Windows\System32\rsaenh.dll'.
'geometria.exe' (Win32): Loaded 'C:\Windows\System32\netprofm.dll'.
'geometria.exe' (Win32): Loaded 'C:\Windows\System32\npmproxy.dll'.

 

 

As you can see, there's no mention of ntdll.dll at all. 

 

I can run the samples at the sample app or create a simple map at Qt Creator tough, so my confusion is even greater as why it's not working. I've tried copying the entire system32\syswow64 dlls to my app to no avail.

 

I'm using Qt 5.14.0, with Visual Studio 2019 Community at home if that's of any help.

Attachments

Outcomes