convertersystems / opc-ua-samples

Sample HMIs using OPC Unified Architecture (OPC UA) and Visual Studio.
MIT License
107 stars 43 forks source link

Problem to Load UWP app to Raspberry Pi #12

Closed tejasklodha closed 7 years ago

tejasklodha commented 7 years ago

Dear Sir,

When I am trying to load Workstation.RobotApp UWP app but not able to load raspberry pi and give below exception

An exception of type 'System.BadImageFormatException' occurred in Urho.dll but was not handled in user code Additional information: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

Exception occur on below line in "RobotControl.xaml.cs" this.robotGame = this.UrhoSurface.Run(new ApplicationOptions("Assets") { Width = (int)this.UrhoSurface.ActualWidth, Height = (int)this.UrhoSurface.ActualHeight });

Tejas Lodha

awcullen commented 7 years ago

This exception indicates that a .dll compiled for one platform( x86?) is being loaded into a incompatible process (x64, Amd?). This release of UrhoSharp only supports x86 (32-bit) for UWP.

awcullen commented 7 years ago

Reading some posts on Windows Core IOT leads me to think that Windows does not yet support hardware accelerated graphics on RPi .

tejasklodha commented 7 years ago

It most helpful if your UWP code support Windows Core IOT.... I am waiting from Microsoft when they start to give support hardware accelerated graphics on RPi...

Thanks for sharing your Awesome knowledge to US

Thanks, Tejas Lodha