How to run windows IOT core Console Visual C++ Application in Windows 10 IOT device.? - windowsiot

I am able to execute it via power shell . But not able to directly run from IOT Device raspberry pi.
If there is not available option for execute Console Application from IOT device which is best alternative application platform for this?
IS there any tools availables that convert Console application to Application that can be run on IOT device ?

If you want to directly run the console application when you are in develop,
You can refer to this link to get the steps of running and debugging C++ console application on Windows IoT Core device.
If you use visual Studio to develop your application, you can install Windows IoT Core Project Templates for VS 2017 and then build a background application. Background Applications are applications that have no direct UI(Headless). Once deployed and configured, these applications launch at machine startup and run continuously without any process lifetime management resource use limitations. Hope that can help you.

it's easiest to view console output from a visual c++ app if you launch the app from an ssh session. try using putty to connect to your raspberry pi, and then run your commands in the ssh session. Instructions here To determine whether your visual c++ app is compatible with Windows IoT, you should run the iot core porting tool which is available here

Related

Docker: Is running tests of a windows product on linux container good?

I have a ASP.NET website which I develop on a windows machine and the users of the website are also 100% windows users.
My question is, if I want to user docker to test the application (with selenium for instance) is using a Linux container a good thing?
Wouldn't that be a misrepresentation of what the production environment?
I just started using docker, and what I though of ideally was -
- I will merge my code to the main branch and deploy in to some VM (Call it VM1).
- On another VM a docker container which has his host file point to VM1, and using that container it will what's in VM1.
Can't someone please focus me on the right path? :)
Thanks, Alex.

RemoteWebDriver launches browsers in background when started remotely using cygwin and openssh

I am trying to run automation tests remotely on a windows machine using from Unix box. I am using cygwin and openssh for it.
I am able to run the tests and take screenshots. However, the browsers launch and run in the background.
I cannot change the property of the CYGWIN SSHD service to "Allow interaction with desktop" because I cannot use the Local system account.
Is there any other way to be able to view the UI in the remote window machine while execution is going on?

Running C on webpage

I have a client server program on C. The program has used libraries such as ffmpeg, libfftw3 etc, now I want to run it on my webpage. I have object files as well as executable files compiled from the C programs. I was searching for some platform which will allow me to run the client-server, just like the way a shell script on terminal allows.
Can anyone please tell me how can I do it.
You can run the program "from your web page" if you rebuild your program using Google's Native Client (NaCl) libraries. https://code.google.com/p/nativeclient/
This builds an executable that is run from Chrome, on the users machine, inside a sandboxed environment. The executable is built and distributed in an intermediate, machine independent format that Chrome coverts into a runtime format when it downloads and runs the app.
The performance is good (a little slower than full speed). The downside is that you are limited to the NaCl libraries. And, you have to run the app with Chrome.
If you want to run this in a client-server configuration, you can have the server run on the same machine or on a different machine.
It's easier to write the server program on your own server machine once and communicate via sockets, otherwise you have to port it to all the machines you want it to run on.
If you are interested in running the server on your local machine, you can use WebSockets to connect simple web pages with HTML and JavaScript to the server.
The right approach depends on what your needs are.

Creating a server socket in beaglebone

I'm new in using beaglebone, and I need some help about some issues I'm facing.
I wrote a code in c (running in a laptop with ubuntu) in which a server socket is opened (running an apache server), and then another device connects to it through internet.
I would like to do the same in the beaglebone with ansgtrom distro (the one that comes with the board). I have read that angstrom distro comes with cloud9 (which from what I understand it acts as a server, like apache).
So, how can I create/open/use a server socket (through a program written in c) in cloud9-beaglebone?
Also, how can I configure cloud9 to store certain webpage? Is such configuration similar to the one in apache?
Cloud9 IDE is an IDE for developing code for Node.JS.
The version of Node.JS used today is 0.6.20. There are examples on the nodejs.org home page and for the particular version at http://nodejs.org/docs/v0.6.20/.
To serve up web pages, I recommend you look into frameworks like ExpressJS. You can use the 'npm' utility under the Cloud9 IDE or the command line to install ExpressJS.
Since Cloud9 IDE allows you to edit C code, you can create typical C code that opens and serves sockets. pkg-config is installed to help you with linking libraries. You'll want to go to https://beaglebone.local to use Gate One to ssh into the board (username: root, password: ) and run the C compiler from the command line. You can use the same tools you'd use under Ubuntu, like 'make' and 'g++'.

Need to build/publish WPF app that only runs from USB Flash Drive

I am building a small WPF application that will be distributed/sold on a USB Flash drive. The application will run from the flash drive and all data entered will be stored on the flash drive.
I have built my proof of concept but my question is how do I build the install? When I try to publish the app it creates the normal setup.exe and the needed manifest files. The setup appears to check for prereqs (framework and such) then installs a startup icon. But it truly installs the program on the hard drive of the computer, which is not what I want.
Can someone point me in the right direction as to how to deploy/build/publish the application to not install but run from the USB Flash drive?
If it has to run on machines that don't already have the .NET framework (3.5 SP1 would probably be the minimum) then there is no way to avoid a big installation step that effects the target machine permanently.
Just compile and run the .exe that is created in the debug directory. I run .NET .exe from network drives all the time. If the .NET framework is not installed then it will fail.

Resources