I am new to windows iot core, Actually I am running it with a raspberry Pi3
What I want to do is to create a .dll from an app based on windows iot core and integrate it in an other solution (WPF plateform) and whenever I call the .dll methods I get datas from my solution to my raspberry pi and vice versa
Actually I am confused about it there's not enough documentation about this and I don't know if this is possible or not if yes I would be very thankfull if you provide me some links
I assume your WPF application running on Windows 10 device.
To use UWP API in WPF application you need Package your WPF applications (Desktop Bridge).
When you create a package for your desktop application, your
application will get an identity and with that identity, your desktop
application has access to Windows Universal Platform (UWP) APIs.
Package a desktop application by using Visual Studio
Using a UWP C++ dll in Win32 C# WPF application
If your WPF application running on lower version than Windows 10 you can't use above solution.
In this case you need implement network send and receive logic respectively for WPF and UWP. Establish, for example, socket connection between them.
Related
Is there a way to convert the project to UWP or should I use another approach? I need to deploy a Windows Forms Application written in C# with VS to Windows 10 IOT on a Raspberry Pi 3b. I've seen mention of a converter, but it seems it is used to publish the app to the Windows Store.
You will need to rewrite the app as a UWP app. The converter you mention (the desktop bridge) will allow packaging your Windows Forms app to store deploy to desktop systems but not for IoT.
Windows 10 IoT does not include the UI stack that a WinForms app depends on. This is documented in the Windows 10 IoT Core documentation (emphasis added for your scenario)
No legacy Win32 UI support: IoT Core does not contain APIs to create classic (HWND) Windows. Legacy methods such as CreateWindow() and CreateWindowEx() or any other methods that deal with Windows handles (HWNDs) are not available. Subsequently, frameworks that depend on such APIs including MFC, Windows Forms and WPF, are not supported on IoT Core
If your UI and underlying logic are separate then you may be able to keep all or most of the logic layer (UWP supports .Net Standard 2.0) and just rewrite the UI using UWP's Xaml stack.
I have a ZK Teco Fingerprint Device and Printing Device and I am building a solution to Print Token when fingerprint matched. I am using C# for building windows form application. Its working absolutely fine but I want to switch Raspberry Pi 3 Model B instead of General PC or Laptop.
Is it possible to run .exe file or install SDK on Windows 10 IoT Core ?
The application(*.exe) can not run on Windows IoT Core. IoT Core is a UWP centric OS and UWP apps are its primary app type. IoT Core supports certain traditional Win32 app types such as Win32 Console Apps and NT Services, but only C++ is supported for developing Win32 apps on IoT Core. More details about development for Windows IoT Core please see this document(https://learn.microsoft.com/en-us/windows/iot-core/tutorials/quickstarter/developapp).
I am trying to create an application in Visual Studio. However, I cannot access the user interface of the application when I create the app through the cross platform blank app xamarin.forms.shared.
When I create the app through cross platform blank app native portable, I see the storyboard for the iOS app, but I cannot access it since my computer runs Windows.
Furthermore, I cannot access the Windows implementation of the application. How can I access the user interface while allowing an implementation of all three versions of the app on my Windows computer?
You will need to have access to a Mac as a build host. I use a networked Mac Mini to do this. Xamarin explains how to do it pretty well here:
https://developer.xamarin.com/guides/ios/getting_started/installation/windows/connecting-to-mac/
Is there a way to do this?
Or at least download the executable and letting user open it?
I want to create a WinRT that depends on a desktop service like this
So either sideload the WinRT from desktop or install the desktop app from Metro.
You can't do that in WinRT today. If you had an executable created for ARM Windows RT today, then you could run the app but Microsoft has not released any tools to create such an executable that runs as a desktop app on Windows RT.
Recently I was asked to work on a project which was developed for an aviculture company.
The client asked if I can make the application which was being developed in C#, to work on a tablet.
So i want to know if i finish the application in c# normally Will I be able to:
1.Use the mono for android and compile the whole project with that and get an android app easily for being used in android devices?
2.Use the executable project on a Windows 8 tablet without any changes?
I would be grateful if any one could answer these two questions.
It depends which tablet you're talking about.
On a Windows RT (ARM based) tablet like Surface, only Metro apps are supported. There are a few desktop apps, but only Microsoft can make them. So if your app is a desktop app, it won't run on Surface RT.
On a tablet with the "real" Windows 8 (x86 based, e.g. Surface Pro), you can run the same apps as on a PC.