开发者

Can't find PInvoke DLL

开发者 https://www.devze.com 2023-03-30 00:55 出处:网络
When I debug the application it works fine.The copy of the debug version residing in Program Files/AppName dir works fine running stand alone on the device.

When I debug the application it works fine. The copy of the debug version residing in Program Files/AppName dir works fine running stand alone on the device.

However, the CAB installed version of my app, with the DLLs present in the application directory, does not work.

How can this be solved?

RESOLVED (Can't answer my own question within 8 hrs with < 100 rep)

Turns out the problem was the device had the DLLs already installed in the Windows directory and the DLLs my CAB was installing were x86 and not ARM. Removi开发者_Go百科ng the DLLs I provided with my CAB solved the problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号