Hardware station is searching for the Third-party dll's in different path for win 10 and win11 #201
-
We have integrated third party payment connector in the Store Commerce. In the third-party payment connector, we have x86, x64 architecture based dll's. below is the screen shot for the payment connector dll's ,
Some part of code in c3 agent dll : Information on how C3Agent C# is loading the PCL .dlls : During the execution we are seeing the Hardware station trying to load/capture the third-party payment connector DLL's in different directory based on Win 11 and Win 10 machines. We have used process monitor tool to understanding the DLL loading path. Here are the result what we got: win 11: So, we have following questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @LavanyaNiki - for your first question about the working directory that Store Commerce uses to look for DLLs, it will first check: If the application cannot find the DLLs in either of those locations, then Windows will search the other folders listed in the system search path, which are all the other calls you're seeing in process monitor. Unfortunately, since that isn't Dynamics code we can't really provide an answer for your second question - you'll either need to work with the third-party provider or review the APIs used in their code yourself to understand why they are behaving differently on Windows 10/11. |
Beta Was this translation helpful? Give feedback.
Hello @LavanyaNiki - for your first question about the working directory that Store Commerce uses to look for DLLs, it will first check:
C:\Program files\Microsoft Dynamics 365\10.0\Store Commerce\Extensions\<extensionName>\HardwareStation
if it cannot find DLLs in that path then it will default to:
C:\Program files\Microsoft Dynamics 365\10.0\Store Commerce\Microsoft\contentfiles\HardwareStation\
.If the application cannot find the DLLs in either of those locations, then Windows will search the other folders listed in the system search path, which are all the other calls you're seeing in process monitor. Unfortunately, since that isn't Dynamics code we can't really provide an answer for …