Windows SDK Manual?

Everything else that doesn't fall into one of the other PB categories.
CadeX
Enthusiast
Enthusiast
Posts: 124
Joined: Mon Oct 02, 2006 2:56 pm
Location: Australia
Contact:

Windows SDK Manual?

Post by CadeX »

Anyone know a direct link to it? When i type in the exact title of this thread i get over 6500 posts involving the Window OS but nothing about the SDK :/
Pro-Gamer, Programmer, Pro-Grammer
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Maybe "Help" from the help file might help:)

Getting Help

The PureBasic IDE provides ways to access the PureBasic helpfile, as well as other files and documentation you want to view while programming.
Quick access to the reference guide

By pressing the help shortcut (F1 by default) or selecting the "Help..." command from the Help menu while the mouse cursor is over a PureBasic keyword or function, the help will be opened directly at the description of that keyword or function.

If the word at the cursor position has no help entry, the main reference page will be displayed.
Quick access to WindowsAPI help

There are two ways to get the same quick access as for the PureBasic functions (by pressing F1 with the cursor on the function) also for functions of the Windows API. To enable this feature you have to download additional help files for these functions:

Microsoft Platform SDK
The Microsoft Platform SDK provides the most complete and up to date programming reference available for the windows platform. It provides information on all api functions, as well as overviews and introductions to the different technologies used when programming for the windows platform. It is however quite big (up to 400MB depending on the selected components).

For the IDE help, you can either install the "February 2003" or the "Windows Server 2003 SP1" edition of the SDK.

It can be downloaded from here:
http://www.microsoft.com/downloads/deta ... laylang=en

Note that the SDK can also be ordered on CD from this page. Also if you are the owner of any development products from Microsoft (such as Visual Studio), there might be a copy of the SDK included on one of the CDs that came with it.

The win32.hlp helpfile
There is a much smaller alternative to the complete SDK by microsoft (7.5 MB download). This help is quite old (written for Windows95 in fact), so it does not provide any information on new APIs and technologies introduced since then.

However, it provides good information about commonly used APIs, that is still valid today, as these mostly did not change. This download is recommended if you only need occasional help for API functions, but do not want to download the full SDK.

It can be downloaded from here:
http://www.purebasic.com/download/WindowsHelp.zip

To use it from the PureBasic IDE, just create a "Help" subdirectory in your purebasic folder and copy the "win32.hlp" file into it.
Accessing external helpfiles from the IDE

If you have other helpfiles you wish to be able to access from the IDE, then create a "Help" subdirectory in your purebasic folder and copy them to it. These files will appear in the "External Help" submenu of the Help menu, and in the popupmenu you get when right-clicking in the editing area. Chm and Hlp files will be displayed in the MS help viewer. The IDE will open the helpfiles in the internal fileviewer. So files like text files can be viewed directly like this. For other types, you can use the Config Tools menu to configure an external tool to handle the type of helpfile you use. The help will then be displayed in that tool.

For example, if you have pdf helpfiles, configure an external tool to handle pdf files and put the files in the Help subdirectory of PureBasic. Now if you click the file in the "external help" menu, it will be opened in that external tool.

Edited to reflect new URL.

cheers
Last edited by rsts on Fri Oct 20, 2006 7:18 am, edited 1 time in total.
CadeX
Enthusiast
Enthusiast
Posts: 124
Joined: Mon Oct 02, 2006 2:56 pm
Location: Australia
Contact:

Post by CadeX »

Oops, thanks.
Pro-Gamer, Programmer, Pro-Grammer
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post by Edwin Knoppert »

SDK is (afaik) only includes but msdn is the help fro Windows API:

http://www.hellobasic.com/cgi-bin/forum ... 1154156008

Note that .img renamed to .iso is viable to do.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Windows SDK Manual?

Post by PB »

> When i type in the exact title of this thread i get over 6500 posts

Have you got "Search for all terms" selected? Because then the exact title
of this thread returns only 7 matches. :)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply