Windows Programming: Learning more about the Win32® API.

Just starting out? Need help? Post your questions and find answers here.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Windows Programming: Learning more about the Win32® API.

Post 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/apiviewer/index-apiviewereng.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/ASIN/157231995X/qid=1070023022/sr=2-1/ref=sr_2_3_1/026-3863155-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:
Last edited by Kale on Sun Feb 27, 2005 5:06 pm, edited 10 times in total.
--Kale

Image
dell_jockey
Enthusiast
Enthusiast
Posts: 768
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

Thanks, Kale !
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
thefool
Always Here
Always Here
Posts: 5883
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

thanks kale!

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

Very nice for offline use.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

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

Already mentioned! :P
--Kale

Image
thefool
Always Here
Always Here
Posts: 5883
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

whoops.
i saw it, but the adress whas not the new one :P
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post 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.
--Kale

Image
thefool
Always Here
Always Here
Posts: 5883
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

whoops again :oops:


8)
syntax error
User
User
Posts: 93
Joined: Tue Jan 13, 2004 5:11 am
Location: Midlands , UK

Post by syntax error »

How about Windowse
This little beauty returns tons of parameters for an open window.
User avatar
Danilo
Addict
Addict
Posts: 3010
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Post by Danilo »

References and informations for Windows developers, directly
from Microsoft, the company who develops Windows:
cya,
...Danilo
...:-=< http://codedan.net/work >=-:...
-= FaceBook.com/DaniloKrahn =-
Bonne_den_kule
Addict
Addict
Posts: 841
Joined: Mon Jun 07, 2004 7:10 pm

Post by Bonne_den_kule »

Here is microsoft's online up to date WinApi reference:
http://msdn.microsoft.com/library/en-us ... erence.asp
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post by Edwin Knoppert »

(obsolete)
Last edited by Edwin Knoppert on Sun Jun 26, 2005 4:20 pm, edited 1 time in total.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post 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.
--Kale

Image
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post by Edwin Knoppert »

Hmmm, i still wonder how the original writer knew about these links..
So we can check out newer links, if exist.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post 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.
--Kale

Image
DevilDog
Enthusiast
Enthusiast
Posts: 208
Joined: Thu Aug 04, 2005 9:32 pm
Location: Houston, Tx.

PureBasic API Wiki

Post 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
When all is said and done, more is said than done.
Post Reply