Purebasic-Tipps and Code > Purebasic Tipps

WinAPI-Library for PureBasic

(1/2) > >>

Theo Gottwald:
This library contains 1052 sample codes in PureBasic for WinAPI calls.
All of these is available in following languages:

* German
* English
* Spanish
* French
There are two versions:
Online: http://www.rsbasic.de/winapi-library
Offline: http://www.rsbasic.de/downloads/winapi_library.zip

Original Post in PureBasic Forum

Bob Houle:
The nice thing about these samples, is that they are always available.

Simply add them to your templates in the IDE, and then double-click on the code you want 'injected' into your source.

Very handy.  ;D


Theo Gottwald:
Sometimes a few screenshots or a more detailled explanation would be appreaciated,
so people can really also duplicate this what you write about.
How does that look?

Bob Houle:

Here's my PureBasic IDE.

I've chosen to place my 'ToolsPanel' on the left-side of the IDE (optional)
and have placed the WinAPI library inside my Templates folder.
As you can see, my Templates folder contains not only the WinAPI information
but much, much more. There about 1,000 code-snippets in the WinAPI folder alone,
so I think there may be 2,000 total in my Templates folder!

Notice the buttons at the top of my Templates Folder... you can add, edit,
deleted folders and snippets easily from here.

To demonstrate, I simply selected a function "determine menory" from the WinAPI
library and double-clicked on the function and it injected the code into my empty file.

As you can see from the code in the IDE, it uses the API to determine the memory of my machine.


Theo Gottwald:
Can you pack the code snippets and send them to me (or publish them here for anybody)?  :-)
I am just starting with PureBasic, and this looks like it could be helpful.


[0] Message Index

[#] Next page

Go to full version