How can one write a C++ dll function (for windows CE) to call an exe application
e.g the exe path is \DOC\EXE\WINCE_EXE
Thanks.
did you try CreateProcess, same as on desktop windows?
Related
I built a windows desktop application using Electron and packaged it. I would like to have an application built in win32 / c++ be able to call and open my electron application. Is their a command / class / function or feature that I can call from my win32 c++ application that will call and open my electron executable?
I'm developing an Windows DLL and I want to know more about windows c++ programming.
The first problem I'm facing is know how to load my application when Windows is loading?
There is any guide on Windows Documentation describing that?
There are 2 ways that I know how to do this:
1) You can create a shortcut to the .exe in the autostart folder
2) You can add the .exe in the registry at Software\Microsoft\Windows\CurrentVersion\Run
You can load your application when windows startup by copying your application to startup folder please refer http://windows.microsoft.com/en-in/windows/run-program-automatically-windows-starts#1TC=windows-7
Also refer http://windows.microsoft.com/en-in/windows/run-program-automatically-windows-starts#1TC=windows-7
I have built a simple console application in c++ vs2010 that just displays one line of text. Is it possible to run this executable from the Release folder in Linux?
Say I put the Release folder on a thumb drive, open it on a linux machine?
I was under the impression that console application written in c++ could run in both windows in linux? how mislead am I?
a) You need to run the executable with wine and emulate a windows environment
- OR -
b) You need to compile your code for your Linux distribution.
I need to run a console when the app starts (for debug, log, etc) without a .bat file.
I use the LCC compiler on Windows 7 x86.
Look at the console APIs in Windows, start with AllocConsole.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682010%28v=vs.85%29.aspx
I want to make an console application of c which can run other applications (exe files). Kindly guide me how can I make it possible so that from my c code i can run other executable files in window OS.
You can use the CreateProcess Windows API function.