I urgently need to convert a small C program from Linux to Windows, but I am a total novice with Dev-C++, or any visual C, in fact. The linux program just takes 2 args and outputs a string, so all I really need is a couple of text boxes to replace argv[1] & [2], an OK button, and maybe another textbox to display the result.
Creating a new project gives me a default blank window called "Window App", but how can I modify this as above and incorporate my linux code?
I have no idea where to start. Can anyone advise?
Sorry, I know this must be very basic but I don't know how and am really pressed for time.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the following snippet will work for outputing the result,
if you check the windows api, there may be an InputBox type function for the entry.(or someone on the forum might know)
errmess is a string.
include <windows.h>
MessageBox(0,errmess,"Error, Picture too big",MB_ICONHAND);
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I urgently need to convert a small C program from Linux to Windows, but I am a total novice with Dev-C++, or any visual C, in fact. The linux program just takes 2 args and outputs a string, so all I really need is a couple of text boxes to replace argv[1] & [2], an OK button, and maybe another textbox to display the result.
Creating a new project gives me a default blank window called "Window App", but how can I modify this as above and incorporate my linux code?
I have no idea where to start. Can anyone advise?
Sorry, I know this must be very basic but I don't know how and am really pressed for time.
Thanks
the following snippet will work for outputing the result,
if you check the windows api, there may be an InputBox type function for the entry.(or someone on the forum might know)
errmess is a string.
include <windows.h>