Including Help for WinAPI in the PB Editor

Share your advanced PureBasic knowledge/code with the community.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

1.) download http://www.borland.com/devsupport/borla ... 52HLP1.ZIP (5,43MB)
2.) UnZIP it to a temporary folder
3.) Copy the "win32.hlp" file to "PureBasic\Help\" (create this dir if it doesnt exist)

Now start the PureBasic Editor and type some API commands
like SendMessage_() and CreateWindowEx_() and...

Move the cursor on the WinAPI function and press F1,
like you do with PureBasic commands.

Dont forget: You can also browse the WinAPI Help
with the buttons at the top of the Help.

Code: Select all

[ Contents ][ Index ][ Back ][ > ]
This is an old WinAPI Help file for Borland C++ 5.2
and doesnt have all the newest WinAPI functions in it.
But for some quick help on basic WinAPI functions
it is very nice (and fast - simply press F1 :).


For advanced WinAPI coders are things like the
Platform SDK, MSDN etc. a "MUST HAVE".
Download the free Platform SDK from Microsoft:
http://www.microsoft.com/msdownload/pla ... k-full.htm (300MB+)
(dont say its huge -> its a "must have" if you code much WinAPI)
It includes all the headers for Win32 coding.

If you need to know the value of a constant that
isnt included in PureBasic, you simply run a
"search - Containing text: [ constant]" (without leading ´#´)
on the folder "Platform SDK\Include\" and you´ll find it.

The Platform SDK includes also Dokumentation for WinAPI.


cya,
...Danilo
(registered PureBasic user)

Edited by - Danilo on 11 April 2002 08:13:17
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> Download the free Platform SDK from Microsoft:
> http://www.microsoft.com/msdownload/pla ... k-full.htm (300MB+)

I can't download it; it says I don't have the SDK Download Control installed,
and I'm not going to install it just so I can download something!

> If you need to know the value of a constant that isnt included in PureBasic,
> you simply run a "search - Containing text: [ constant]" (without leading ´#´)
> on the folder "Platform SDK\Include\" and you´ll find it.

You can also do this with a MUCH smaller 143 K download here, if you don't want
to struggle with a 300 MB download just to see the API constant values:

http://www.mvps.org/vb/code/Win32api.zip


PB - Registered PureBasic Coder

Edited by - PB on 11 April 2002 08:24:43
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

>You can also do this with a MUCH smaller 143 K download here,
>if you don't want to struggle with a 300 MB download just to see
>the API constant values:

I didnt say i downloaded the SDK for viewing
the constants only. :)
Some little help files are enough for the
PureBasic coder who wants only to use some
API functions sometimes.

Especially Win32-Assembly coders need complete
and detailed informations about Win32.
I bought MSDN on CD and got all the SDK-stuff
(PSDK, DirectX SDK,..) because i want to access
_all_ informations very fast and offline.

Thats why i said "for advanced WinAPI coders".
Without MSDN and the Platform SDK they are
(nearly :wink: lost...

I´m also speaking about own experience here
and needed some infos from the SDK for my
PureBasic-Libraries.
And I think Fred couldnt make all this
PureBasic Libraries without all this infos.

Its your very own choice - i gave only an (IMO useful) link to it.
Maybe it helps somebody...

cya,
...Danilo

(registered PureBasic user)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> Its your very own choice - i gave only an (IMO useful) link to it.

Danilo, you're misunderstanding me: I wasn't rubbishing your links or what you
posted... I clearly said that if the user just wants the API constant values,
that they could download a smaller file instead of 300 MB to get at them.
That's all. No disrespect was meant about your post... I was just adding
to it.

PB - Registered PureBasic Coder
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

No problem here, PB.

I only try to clarify some things sometimes
because some people misunderstand me when i
only write 1 line. :)
So i better explain everything i want to say...

I dont have to care about this anymore because
i already got all the SDKs etc..
Anyway... thx for your link - i downloaded this too... :)

cya,
...Danilo

(registered PureBasic user)
Post Reply