L
Luc The Perverse
Hello!
I am looking for a beginners tutorial on how to program for windows in C.
I guess this is windows API?
I have never written outside of VC++ for windows, and can't find any
examples. I don't think that this is a DevC++ specific question.
I have written a simple application which locates duplicate files; it first
compares file sizes, and then runs an SHA-256 (might switch to Adler 32)
hash on the file to see if it matches. (I realize that this has been done
before, I am doing this as a learning project.)
For this project, I am going to need a window, buttons, intercept keystrokes
(for shortcuts), a list box with checkmarks, message boxes (perhaps nested
in a listbox), child windows (just modal dialogs), progess bars, and the
actual detection and scanning part will have to run in its own thread.
GUIs have never been my forté. I cut and paste whenever I can, and
Microsoft makes it worse by requiring that you learn very little about how
the system works.
After I get it working in Windows, then I am going to try again in Linux -
and try to get better at identifying which functions can be identical and
which functions need to be seperate.
I have also considered writing my real functions in C and then using Java as
my front end to eliminate the majority of porting issues. I would still of
course want my EXE file to have an Icon, and I wouldn't know how to do this.
Please point me to some beginners tutorials, or tell me what I should be
searching for on Google.
I will go to Java NG and ask about using Java as a C front end, as I think
this is quite a different question.
I am looking for a beginners tutorial on how to program for windows in C.
I guess this is windows API?
I have never written outside of VC++ for windows, and can't find any
examples. I don't think that this is a DevC++ specific question.
I have written a simple application which locates duplicate files; it first
compares file sizes, and then runs an SHA-256 (might switch to Adler 32)
hash on the file to see if it matches. (I realize that this has been done
before, I am doing this as a learning project.)
For this project, I am going to need a window, buttons, intercept keystrokes
(for shortcuts), a list box with checkmarks, message boxes (perhaps nested
in a listbox), child windows (just modal dialogs), progess bars, and the
actual detection and scanning part will have to run in its own thread.
GUIs have never been my forté. I cut and paste whenever I can, and
Microsoft makes it worse by requiring that you learn very little about how
the system works.
After I get it working in Windows, then I am going to try again in Linux -
and try to get better at identifying which functions can be identical and
which functions need to be seperate.
I have also considered writing my real functions in C and then using Java as
my front end to eliminate the majority of porting issues. I would still of
course want my EXE file to have an Icon, and I wouldn't know how to do this.
Please point me to some beginners tutorials, or tell me what I should be
searching for on Google.
I will go to Java NG and ask about using Java as a C front end, as I think
this is quite a different question.