PDA

View Full Version : Windows API programming in C


Mhtml
04-20-2003, 02:15 PM
I'm having trouble trying to understand ANYTHING about creating windows applications in C. All the tutorials I find expect you to know how to make a window for starters and don't comment their code very well..

Can anyone either give me a link to some really good tutorials or comment some code so that a primate could understand it I'd like that very much.

Thanks, :).

eggman
04-20-2003, 04:40 PM
The following contains a downloadable tutorial on the entire C language:

http://decweb.bournemouth.ac.uk/staff/awatson/c_program/Coronado_C/notes/clist.htm

The following will give you lots more:

http://directory.google.com/Top/Computers/Programming/Languages/C/Tutorials/

Sparky
04-20-2003, 08:27 PM
I have compiled a list off links too various coding/development sites/guides/tutorials here (http://www.awars.com/forums/showthread.php?threadid=958). Worth off note are:-

MSDN (http://msdn.microsoft.com/) - Pretty good place too start, and exellent as a reference for basic principles, functions, and other stuff like that.

theForger's Win32 API Tutorial (http://winprog.org/tutorial/) - Deffinatly worth a good read, should explain most off what you need too know.

And,

GameTutorials Tutorials (http://www.gametutorials.com/Tutorials/tutorials.htm) - Some very good source for basic windows apps, very well commented taking you through all the steps needed and commenting on all the code.

I myself have recently moved from using c++ for console programs too very basic Win32 API stuff. I certainly wouldnt call myself an expert on any level, but understand the basics, and have only recently gone through the process you are going through. If you can catch us online on MSN/IRC ect ect, i would be more than happy too help you out with any questions or anything.

Mhtml
04-21-2003, 02:20 AM
Thankyou, that should help me to get started. :) Now I have a year and a half to master it.

[edit:] Well looks like they have moved the downloadable file, but I managed to find it.

ftp://ftp.swcp.com/pub/users/dodrill/controlled/chtm.zip

There look to be a few c/c++ related things in that directory.

ionsurge
04-23-2003, 12:48 AM
If you want to have it easy, then I can only but emphasise the beauty of programs such as Delphi, and Borland C++ Builder, they make the programming of anything so much easier.

You can find them at Borland (http://www.borland.com)'s website.

Mhtml
04-23-2003, 06:49 AM
But learning the hard way will make you really good at the language.

sir pannels
05-01-2003, 03:51 PM
hey,
i jus tried out a lil bit of code from one of those links, ment to be a very basic win app, but my compiler says it cant find windows.h... anyone have acopy of it please ? =]

bb002
05-01-2003, 06:43 PM
you can download the devc++ made by bloodshed from http://www.simtel.net/pub/dl/17456.shtml or http://ftp1.sourceforge.net/dev-cpp/devcpp4.zip
and their web site is http://www.bloodshed.net/

well hope that helps on both your problems because the program is free AND it has a project option where you can open template of a blank window :)
also has some other projects too. you may want to put it in the default directory other wise some of the pre-made projects will gripe when you compile them, but that's easily fixed...wow i really rambled on here lol.

ionsurge
05-05-2003, 10:45 PM
Originally posted by Mhtml
But learning the hard way will make you really good at the language.


Ah very true, I started off with Turbo C++ which was pretty fun, that was in C.