Search found 262 matches
- Fri Mar 24, 2023 11:05 am
- Forum: General Discussion
- Topic: AddSysTrayIcon - ImageID always invalid
- Replies: 3
- Views: 261
Re: AddSysTrayIcon - ImageID always invalid
Aaaarrgghhhh! Thanks, PeDe! I knew it would be me -- I thought I was meant to pass the image handle, but I get it now, thank you.
- Fri Mar 24, 2023 5:10 am
- Forum: General Discussion
- Topic: AddSysTrayIcon - ImageID always invalid
- Replies: 3
- Views: 261
AddSysTrayIcon - ImageID always invalid
Hi all, I haven't been here for a while, just not doing a lot of programming these days, but tonight I've run into this problem under PureBasic 5.70 LTS (Windows - x64): trying to load an icon (.ico) and use it with AddSysTrayIcon always fails for me, with " [ERROR] AddSysTrayIcon(): The specif...
- Mon Jun 03, 2019 5:42 pm
- Forum: Tricks 'n' Tips
- Topic: List Taskbar buttons
- Replies: 10
- Views: 4885
Re: List Taskbar buttons
Thanks, BarryG, have updated first post with your code. (It works on WIndows 7 too!) Interestingly, while running a quick test, I immediately found a window that doesn't get picked up with either version: the main window of the Reaper DAW ( https://reaper.fm/ ), which appears otherwise standard, app...
- Mon May 20, 2019 11:43 pm
- Forum: 3D Programming
- Topic: Physics - Airplane
- Replies: 11
- Views: 5964
Re: Physics - Airplane
Thanks, Kuron, interesting links. The source is assembly, though, so definitely not for me! Book looks interesting. My project is only a simple arcade-style flight game, using basic forces/torque for "good enough" flight, but failing to handle stalling, which this does nicely. I had a look...
- Sat May 18, 2019 5:09 pm
- Forum: 3D Programming
- Topic: Landscape v4
- Replies: 26
- Views: 15808
Re: Landscape v4
Amazing work.
- Sat May 18, 2019 4:59 pm
- Forum: 3D Programming
- Topic: Physics - Airplane
- Replies: 11
- Views: 5964
Re: Physics - Airplane
Thanks for posting this, and your other demos! I'm currently struggling with aircraft physics so will study this!
Really cool stuff.
Really cool stuff.
- Thu Dec 29, 2016 5:59 pm
- Forum: Off Topic
- Topic: tool displaying win ids on mouseover
- Replies: 18
- Views: 7215
Re: tool displaying win ids on mouseover
You could adapt this to do something similar -- just run the list of windows through pid = FindWindowProcessID (window) to match window to process: #TH32CS_SNAPHEAPLIST = $1 #TH32CS_SNAPPROCESS = $2 #TH32CS_SNAPTHREAD = $4 #TH32CS_SNAPMODULE = $8 #TH32CS_SNAPALL = #TH32CS_SNAPHEAPLIST | #TH32CS_SNAP...
- Sun Aug 21, 2016 2:01 pm
- Forum: Announcement
- Topic: PureBasic 5.50 final is out !
- Replies: 132
- Views: 62994
Re: PureBasic 5.50 final is out !
Only just seen this. Love the vehicle stuff! Thanks, Fred and co.
- Fri Feb 26, 2016 10:50 pm
- Forum: Windows
- Topic: FreeMemory crash with Registry subkey pointer
- Replies: 5
- Views: 2886
Re: FreeMemory crash with Registry subkey pointer
Ah, thanks, guys. I had no idea this was something I needed to take care of... I guess I assumed Windows was still using ASCII for all this stuff!
Works perfectly now, of course... will post my code if I get something useful out of it!
Much appreciated.
Works perfectly now, of course... will post my code if I get something useful out of it!
Much appreciated.
- Fri Feb 26, 2016 12:03 pm
- Forum: Windows
- Topic: FreeMemory crash with Registry subkey pointer
- Replies: 5
- Views: 2886
Re: FreeMemory crash with Registry subkey pointer
Ah, wasn't aware of #KEY_WOW64_64KEY / #KEY_WOW64_32KEY, will give this a go tonight -- many thanks for having a look, Rashad, really appreciate it!
- Fri Feb 26, 2016 4:36 am
- Forum: Windows
- Topic: FreeMemory crash with Registry subkey pointer
- Replies: 5
- Views: 2886
FreeMemory crash with Registry subkey pointer
Hi all, Can anyone see what's wrong with this code? I'm attempting to parse available Windows Updates, but although I can list the updates (or what I believe to be the updates), it crashes at the end on freeing the memory used to store the Registry key name, and I can't see any good reason for it! E...
- Sun Dec 27, 2015 11:51 pm
- Forum: Applications - Feedback and Discussion
- Topic: WinAPI Library (1163 example codes)
- Replies: 54
- Views: 75673
Re: WinAPI Library (1.052)
Only just discovered this! Excellent work.
- Mon Oct 05, 2015 9:08 am
- Forum: Linux
- Topic: Building from text mode console
- Replies: 2
- Views: 2039
Re: Building from text mode console
Thanks for the pointers, Vera, very helpful. I suppose if I can't build via command line I could probably just install in a VM and copy over, but I am surprised by the idea that PB wouldn't compile on command-line Linux -- I kind of assumed that would be natural on Linux, and that the IDE would just...
- Sun Oct 04, 2015 10:10 pm
- Forum: Linux
- Topic: Building from text mode console
- Replies: 2
- Views: 2039
Building from text mode console
Hi all, I've set up Ubuntu Server 14.04 ( pure command line ) and I want to be able to compile simple programs from the command line. I've set fasm, pbcompiler, pbdebugger, pbdocmaker, pblibrarymaker, pbsoimporter and purebasic as executables. I'm testing with this simple program: OpenConsole ("...
- Sat Aug 15, 2015 4:14 pm
- Forum: Applications - Feedback and Discussion
- Topic: StreetView Grabber (Updated v1.6)
- Replies: 53
- Views: 133426
Re: StreetView Grabber (Updated v1.6)
I saw this ages ago but was too lazy to try it -- it's awesome!
Would it be possible to allow looking up and down, like in Streetview itself?
Any chance of the source code being released?
Would it be possible to allow looking up and down, like in Streetview itself?
Any chance of the source code being released?