Page 1 of 4

Windows Programming: Learning more about the Win32® API.

Posted: Fri Mar 26, 2004 1:42 pm
by Kale
For those of you that want to learn more about the Win32® API to augment your PureBasic code, here are a few resources i have found to be very helpful.

APIGuide:
http://www.mentalis.org/agnet/apiguide.shtml
Cool program that catergorizes commands into groups and has lots of examples.
(examples in VisualBasic)
.

APIViewer:
http://www.activevb.de/rubriken/apiview ... ereng.html
Handy program that lets you quickly see Win32® API Constant values, Structure declares and Function parameters.
(examples in various languages including PureBasic)
.

MS Win32® API Reference:
http://www.garyw.uklinux.net/pb/WIN32.zip
One of the latest windows help files. Place this in your 'PureBasic/Help' folder, then put your cursor over a Win32® API command from within the PureBasic IDE and hit F1.

Programming Windows:
http://www.amazon.co.uk/exec/obidos/ASI ... 55-7248459
The famous book/bible from Charles Petzold.
(Examples are in C)


How to use Win32® API Types:
http://freak.purearea.net/help/wintypes.txt
A collection of Types needed to do Win32® API programming, and their corresponding PureBasic Types.

And sometimes if you are hopelessly stuck you will have to take a deep breath and trawl through the mighty behemoth monster that is Microsoft Developer's Network :twisted:

Posted: Fri Mar 26, 2004 4:13 pm
by dell_jockey
Thanks, Kale !

Posted: Sat Mar 27, 2004 9:44 pm
by thefool
thanks kale!

A good program is API-GUIDE.
http://allapi.net

Very nice for offline use.

Posted: Sun Mar 28, 2004 4:06 pm
by Kale
A good program is API-GUIDE.
http://allapi.net
Already mentioned! :P

Posted: Sun Mar 28, 2004 5:40 pm
by thefool
whoops.
i saw it, but the adress whas not the new one :P

Posted: Sun Mar 28, 2004 7:33 pm
by Kale
thefool wrote:whoops.
i saw it, but the adress whas not the new one :P
Yes it is. http://allapi.net mearly points to www.mentalis.org.

Posted: Sun Mar 28, 2004 7:35 pm
by thefool
whoops again :oops:


8)

Posted: Sat May 22, 2004 9:02 pm
by syntax error
How about Windowse
This little beauty returns tons of parameters for an open window.

Posted: Tue Jun 08, 2004 6:24 am
by Danilo
References and informations for Windows developers, directly
from Microsoft, the company who develops Windows:

Posted: Tue Jun 15, 2004 12:06 pm
by Bonne_den_kule
Here is microsoft's online up to date WinApi reference:
http://msdn.microsoft.com/library/en-us ... erence.asp

Posted: Tue Jun 15, 2004 12:23 pm
by Edwin Knoppert
(obsolete)

Posted: Tue Jun 15, 2004 12:30 pm
by Kale
Edwin Knoppert wrote:Here is a special topic i wrote on my forum how to download MSDN.
http://www.hellobasic.com/cgi-bin/forum ... 1069170971
The MSDN disc images were only available for a limited time, Now they are gone.

Posted: Tue Jun 15, 2004 1:06 pm
by Edwin Knoppert
Hmmm, i still wonder how the original writer knew about these links..
So we can check out newer links, if exist.

Posted: Tue Jun 15, 2004 2:48 pm
by Kale
Edwin Knoppert wrote:Hmmm, i still wonder how the original writer knew about these links..
So we can check out newer links, if exist.
Microsoft wrote:Normally available only to subscribers, three CD images comprising the April 2003 MSDN Library have been posted by Microsoft for public download. The MSDN Library contains documentation, code samples, technical articles and reference guides designed for Microsoft developers.

The posting follows last week's release of the final version of Visual Studio .NET 2003 to MSDN subscribers. Formerly code-named Everett, Visual Studio .NET 2003 includes the .NET Framework version 1.1, which adds improved performance and scalability. For mobile developers, the Visual Studio update now supports the .NET Compact Framework and includes integrated ASP.NET Web forms.

Visual Studio .NET 2003 will officially launch on April 24 alongside the long-awaited Windows Server 2003. Microsoft plans to push both products in order to promote development on its .NET platform.

Developers not wishing to wade through the online MSDN archive can view example code and documentation before the product's launch by downloading the MSDN Library CDs. Disc 1, disc 2, and disc 3 can be written directly to CD and total over 1.8GB in size.

PureBasic API Wiki

Posted: Wed Sep 28, 2005 7:46 pm
by DevilDog
In an effort to try to learn more about programming the API from PureBasic, I have created a wiki located http://purebasic-api.wikispaces.org/

I am using the example I got from Timo a while back when he was helping me to track the mouse movements of an existing copy of Internet Explorer.

The goal is to try to get everyone who can help us newbies learn how to program the API from purebasic by dissecting that example.

There's a lot there in that code sample and if we're able to document how it all works this might be a great learning resource.

If you can help explain any of the code, please do so by clicking the "edit" link at the top of each page.

Thanks