Is it possible to use directly the core Windows API with PB
CreateWindowEx + GetMessage + WindowProc callback
it seems that the C/C++ is supported as long as using specific prefix letters.
Does there is an example of that specific use somewhere around?
And what is the LoadLibrary counterpart?
Message pump
-
- User
- Posts: 21
- Joined: Sun Aug 10, 2003 11:45 am
- Location: France
- Contact:
Message pump
Patrice Terrier
objreader@gmail.com
http://www.objreader.com
Addon: WinLIFT (Skin Engine), GDImage (Graphic library), ObjReader (3D engine)
objreader@gmail.com
http://www.objreader.com
Addon: WinLIFT (Skin Engine), GDImage (Graphic library), ObjReader (3D engine)
Re: Message pump
Sure, you can code in full API in PB, almost all Win32 structures, constants and functions are directly available. You just need to put an underscore at the end of the API function
Here is an example: viewtopic.php?t=80610&hilit=Getmessage_
Here is an example: viewtopic.php?t=80610&hilit=Getmessage_
Re: Message pump
yes you can....
If it is necessary
Use the search to find more examples here in the forum....
for starters you can look at this...
viewtopic.php?p=508303#p508303
If it is necessary
Use the search to find more examples here in the forum....
for starters you can look at this...
viewtopic.php?p=508303#p508303
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
-
- User
- Posts: 21
- Joined: Sun Aug 10, 2003 11:45 am
- Location: France
- Contact:
Re: Message pump
Ok, thank you!
Patrice Terrier
objreader@gmail.com
http://www.objreader.com
Addon: WinLIFT (Skin Engine), GDImage (Graphic library), ObjReader (3D engine)
objreader@gmail.com
http://www.objreader.com
Addon: WinLIFT (Skin Engine), GDImage (Graphic library), ObjReader (3D engine)