win32 api tutorial

New to FreeBASIC? Post your questions here.
Post Reply
stephenj
Posts: 2
Joined: Dec 26, 2007 11:29

win32 api tutorial

Post by stephenj »

this is probably a dumb question but can anyone point me to a tutorial that will help me understand how to use the windows api in FB, I can't seem to find one anywhere

cheers

Stephen
maddogg6
Posts: 824
Joined: Dec 07, 2005 22:58
Contact:

Post by maddogg6 »

the FB/examples/Windows folder where you installed FBC should show some stuff.

Anything more specific can be searched for with the forum search.
Antoni
Posts: 1393
Joined: May 27, 2005 15:40
Location: Barcelona, Spain

Post by Antoni »

IIRC in the first issues of QBExpress Nekrophidius (a.k.a Adosorken) ran a short tutorial about it.

There are great tutorials for other languages as Reliable Software's or The Forger's (C) and Iczelion's (Assembler). You can Google for them.

The best thing around (for C) is the Win Help file that came with Charles Petzold's book about the Win API. Do a search for petzold.zip...or go buy the book if you prefer it.
notthecheatr
Posts: 1759
Joined: May 23, 2007 21:52
Location: Cut Bank, MT
Contact:

Post by notthecheatr »

Aside from the ones already mentioned, the tutorials section in the wiki contains at least one basic tutorial. After you learn the basics though, you'll need to look elsewhere to get to the really deep stuff. http://www.freebasic.net/wiki/wikka.php ... ssageIntro is the link to the tutorial.

A knowledge at least of basic C syntax will help you there, since there's so many C tutorials for the Win32 API out there. Don't bother with C++ tutorials though, they won't really help much with that.
stephenj
Posts: 2
Joined: Dec 26, 2007 11:29

Post by stephenj »

okay, thanks everybody, I've got some reading to do

cheers

S
MystikShadows
Posts: 613
Joined: Jun 15, 2005 13:22
Location: Upstate NY
Contact:

Post by MystikShadows »

I also wrote a 2 part tutorial on the Windows API in FB for PCOPY! you can read them here:

First part:
http://www.shnetworks4.net/~asciiwor/pc ... 10/#winapi

Second Part:
http://www.shnetworks4.net/~asciiwor/pc ... tml#winapi

Hope it helps.
notthecheatr
Posts: 1759
Joined: May 23, 2007 21:52
Location: Cut Bank, MT
Contact:

Re: win32 api tutorial

Post by notthecheatr »

One thing I'll point out...
stephenj wrote:this is probably a dumb question
There are no dumb questions :D Keep learning!
Post Reply