Search found 18 matches

by Controller
Mon Nov 17, 2025 11:37 pm
Forum: Coding Questions
Topic: DataSection access rights - Questions and one issue
Replies: 0
Views: 413

DataSection access rights - Questions and one issue

Is there any option for the datasections. How are they managed when mixed with regular code. Are they merged (to save data) and what access rights are there?

(Currently with 6.12 LTS Version, X64, Threadsafe):
I have a shared module using a DataSection, that I use for multiple projects with ...
by Controller
Wed Nov 01, 2023 9:16 pm
Forum: Coding Questions
Topic: WM_MOUSEWHEEL inconsistency
Replies: 3
Views: 512

Re: WM_MOUSEWHEEL inconsistency

Ah, thanks :shock:
by Controller
Wed Nov 01, 2023 4:50 pm
Forum: Coding Questions
Topic: WM_MOUSEWHEEL inconsistency
Replies: 3
Views: 512

WM_MOUSEWHEEL inconsistency

For some reasons, #WM_MOUSEHWHEEL sometimes has a value of 522 and sometimes 526
Maybe this value changes on later compiling steps or something.

Tested with PureBasic, and all versions produce this behavior:
6.03 LTS x64
5.73 LTS x64
5.73 LTS x86
5.46 LTS x86 (for Ansi)
5.31 x86 (for Windows 95 ...
by Controller
Tue May 11, 2021 3:27 pm
Forum: Feature Requests and Wishlists
Topic: MD5FingerprintBin()
Replies: 16
Views: 9817

Re: MD5FingerprintBin()

I would also appreciate an MD5FingerprintBin() function...
by Controller
Thu Dec 03, 2015 10:29 pm
Forum: Game Programming
Topic: 2d drawing perfomance issue
Replies: 2
Views: 3320

Re: 2d drawing perfomance issue

Thanks, helped me out alot. Got most of the stuff working so far, and it's really fast now.
by Controller
Wed Dec 02, 2015 8:26 pm
Forum: Game Programming
Topic: 2d drawing perfomance issue
Replies: 2
Views: 3320

2d drawing perfomance issue

so far, i did lot's of optimations on my project, and seems to have an speed issue when output all that rendered stuff. Environment:
* Regular Window which may change size, standard windows gdi drawing
* after inital clearing (fillrect), 5000 rectangulars are drawn (createsolidbrush, fillrect ...
by Controller
Mon Feb 17, 2014 2:29 am
Forum: Feature Requests and Wishlists
Topic: OpenFileRequester and SaveFileRequester handling
Replies: 1
Views: 1210

Re: OpenFileRequester and SaveFileRequester handling

http://ctuser.net/_files/opensave01.7z
Few samples.
The open samples only bring the advantage of opening directories.
C:\Test will open the dialog in C:\Test, instead of C:[\] with filename Test (if such directory exists).

The save example also allowes opening directories.
Additionally it handles ...
by Controller
Mon Feb 17, 2014 1:56 am
Forum: Feature Requests and Wishlists
Topic: Drag & Drop
Replies: 0
Views: 826

Drag & Drop

DragFiles supporting right-mouse-button dragging
EnableWindowDrop option / equivalent supporting Windows / OS window handles
by Controller
Mon Feb 17, 2014 1:45 am
Forum: Feature Requests and Wishlists
Topic: Bigger Icons for High DPI Screens
Replies: 5
Views: 1766

Re: Bigger Icons for High DPI Screens

Better solution would be real scalability, svg, or maybe wmf/emf? but would need a rendering engine allowing icon output, and color replacement / windows system colors support.
by Controller
Mon Feb 17, 2014 12:19 am
Forum: Feature Requests and Wishlists
Topic: OpenFileRequester and SaveFileRequester handling
Replies: 1
Views: 1210

OpenFileRequester and SaveFileRequester handling

if passing an existing directory as filename,
OpenFileRequester and
SaveFileRequester
should goto this directory, instead of parent directory and using the "file part" as filename.
or these functions should have an option to behave so.

Also the file pattern handling is unreliable - well, standard ...
by Controller
Wed Feb 03, 2010 10:30 pm
Forum: Coding Questions
Topic: ASM Changes in PB 4.40?
Replies: 4
Views: 1317

Re: ASM Changes in PB 4.40?

As far as I know, you should not use registers other then eax, ecx, edx.
(you may use others but should restore them properly before leaving assembly instructions/block)
by Controller
Mon Dec 22, 2008 9:21 pm
Forum: Coding Questions
Topic: Problems with LocalAlloc
Replies: 8
Views: 2856

Good reason indeed
by Controller
Mon Dec 22, 2008 11:42 am
Forum: Coding Questions
Topic: Problems with LocalAlloc
Replies: 8
Views: 2856

1) Cross-plattform is not needed (I primaly develop on Windows 98 and got enough probs with Windows XP incompatibility and dynamic unicode support). Esp. this project here uses API not integrated in PureBasic (Resources, waveIn) and some core parts are already written in assembly.

2) LocalAlloc may ...
by Controller
Sun Dec 21, 2008 9:27 pm
Forum: Coding Questions
Topic: Problems with LocalAlloc
Replies: 8
Views: 2856

thx, but seems the problem is quite simple and another reason for me to dislike Windows XP; Problem was I LocalFree-ed one memory twice, like this simple example:

Repeat
xLong1 = LocalAlloc_(0, 200)
xLong2 = LocalAlloc_(0, 200)
If xLong2 = xLong1
Debug "Doubled!"
EndIf
LocalFree_(xLong1 ...
by Controller
Sun Dec 21, 2008 8:22 pm
Forum: Coding Questions
Topic: Problems with LocalAlloc
Replies: 8
Views: 2856

Problems with LocalAlloc

1) Tried to debug a program on Windows XP, which allocates 2 memorys and it most times returns the same address... (tested with 4.02, 4.20 and 4.30)... and after little time it crashes on the second LocalAlloc (Invalid memory access. (write error at address ...).
Strangest of all, when running a ...