?
?
you write a program
Start by looking at sample code and tutorials. It takes alot to write a windows program.
mainly sample code:
http://www.foosyerdoos.fsnet.co.uk/
programming windows in C:
http://www.winprog.org/tutorial/ (one of my favorite tutorials)
http://sunlightd.virtualave.net/default2.htm (decent tute, doesn't explain much though)
programming windows in C++:
http://www.relisoft.com/win32/index.htm (good tute, somewhat unorganized though)
This is not entirely true, if you didnt notice, they use C++ style comments, making it a "Programming Windows in C++" tutorial
"There are three kinds of people in the world...
Those that can count and those that can't."
OK, programming in C, but using C++ comments
>>> how do you call api calls
Include the appropriate header, (usually windows.h is good enough, but the help will tell you which include file necessary for each routine), then you can call them in exactly the same way as your own functions.
Note, calling API functions if you don't know what you are doing can be damaging to your mental health - see notes above about tutorials.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
>> OK, programming in C, but using C++ comments
lol i guess that works
I didnt think there was a difference between C Win32 API Programming and C++ Win32 API Programming..
"There are three kinds of people in the world...
Those that can count and those that can't."
There isnt.........you can write to API functions in almost any language as long as the language can do certain key things....Hell.....its easy enough to call API funcs in Assembler as long as you know what you are doing.....Originally posted by Okiesmokie
>> OK, programming in C, but using C++ comments
lol i guess that works
I didnt think there was a difference between C Win32 API Programming and C++ Win32 API Programming..
The main difference is simply the fact it's in C++
You can't use classes and encapsulation and so forth in regular C. There is a difference, but only because of the differences in the languages. If you know C++ well enough, it's obviously the way to go, but if not, C is easy enough.
yea, i was looking at that C++ one, but if i wanted to use classes, i would just use MFC.
When i write a win32 App, i use 2 functions:
int WINAPI WinMain(..);
LRESULT CALLBACK WndProc(..);
"There are three kinds of people in the world...
Those that can count and those that can't."