Search found 302 matches
- Thu Mar 21, 2024 3:17 pm
- Forum: Coding Questions
- Topic: Icon display messed up
- Replies: 11
- Views: 336
Re: Icon display messed up
The function is more or less right. I would not use OpenLibrary() with hard coded number unless written for a short forum example code. You do not keep track of the hIcon's you create, ideally you would free them if no longer needed. However the problem is most likely with the Windows Icon cache: I ...
- Wed Mar 20, 2024 8:38 am
- Forum: Windows
- Topic: [Solved] Get REAL logged-in user name
- Replies: 6
- Views: 357
- Tue Mar 19, 2024 7:33 am
- Forum: Coding Questions
- Topic: Importing the GetVolumeNameForVolumeMountPoint() function?
- Replies: 2
- Views: 123
Re: Importing the GetVolumeNameForVolumeMountPoint() function?
Import "Kernel32.lib" CompilerIf #PB_Compiler_Processor = #PB_Processor_x64 GetVolumeNameForVolumeMountPoint.l(*VolumeMountPoint, *VolumeName, Length.l) As "GetVolumeNameForVolumeMountPointW" CompilerElse GetVolumeNameForVolumeMountPoint.l(*VolumeMountPoint, *VolumeName, Length....
- Mon Mar 18, 2024 8:36 am
- Forum: Bugs - IDE
- Topic: [Done] No Autocomplete Popup
- Replies: 2
- Views: 295
Re: No Autocomplete Popup
AutoComplete.pb --> AutoComplete_AddFromSorted() For empty Prefix$, RadixEnumerateAll needs to be called. Procedure AutoComplete_AddFromSorted(*Parser.ParserData, Prefix$, *Ignore.SourceItem, SingleModuleOnly) If *Parser\SortedValid For Type = 0 To #ITEM_LastSorted If AutocompleteOptions(Type) And T...
- Thu Mar 14, 2024 11:59 am
- Forum: Feature Requests and Wishlists
- Topic: Delete PureBasic_Compilation0.exe after Run from the Temp file.
- Replies: 10
- Views: 517
Re: Delete PureBasic_Compilation0.exe after Run from the Temp file.
That sounds like a really annoying problem. Without error message you can't be sure what code your running.
If would use Process Monitor and check if the second compilation actually being executed and what the exit codes of the processes are.
If would use Process Monitor and check if the second compilation actually being executed and what the exit codes of the processes are.
- Wed Mar 13, 2024 7:53 pm
- Forum: Coding Questions
- Topic: PB6.10 B8 x64 @DropCallback() mismatch
- Replies: 4
- Views: 184
Re: PB6.10 B8 x64 @DropCallback() mismatch
Using longs, it works.
Code: Select all
Procedure DropCallback(Handle, Status.l, Format.l, Action.l, x.l, y.l)
ProcedureReturn #True
EndProcedure
- Mon Mar 11, 2024 12:00 pm
- Forum: Bugs - IDE
- Topic: [Done] AutoComplete List is sometimes delayed
- Replies: 3
- Views: 200
Re: [Done] AutoComplete List is sometimes delayed
1 Minute freeze can happen if you switch compilers. Next Autocomplete will restart compiler, what freezes GUI display operation.
StructureFunctions.pb --> FindStructureInterface()
uncomment the 2 ForceDefaultCompiler()
StructureFunctions.pb --> FindStructureInterface()
uncomment the 2 ForceDefaultCompiler()
- Sun Mar 10, 2024 6:56 pm
- Forum: Coding Questions
- Topic: Crash with PB 6.10 b6 with function PeekS / PeekL
- Replies: 22
- Views: 732
Re: Crash with PB 6.10 b6 with function PeekS / PeekL
That's right, but this feature is the main reason why his crashes occur with PB 6.10.DarkDragon wrote: ↑Sun Mar 10, 2024 6:48 pm High entropy virtual addresses means you have chaotic addresses, but disabling it isn't implying you'll end up with only 32 bit addresses.
- Sun Mar 10, 2024 6:42 pm
- Forum: Coding Questions
- Topic: Crash with PB 6.10 b6 with function PeekS / PeekL
- Replies: 22
- Views: 732
Re: Crash with PB 6.10 b6 with function PeekS / PeekL
Daniel, please don't post such nonsense. What's your solution for Barry?
His posts make a total clear that he can't fix his code - and not even find the problematic locations in the code.
Avoid high memory addresses is bad, but what else can he do. Sticky with PB 6.04 forever?
His posts make a total clear that he can't fix his code - and not even find the problematic locations in the code.
Avoid high memory addresses is bad, but what else can he do. Sticky with PB 6.04 forever?
- Sun Mar 10, 2024 5:49 pm
- Forum: Coding Questions
- Topic: Crash with PB 6.10 b6 with function PeekS / PeekL
- Replies: 22
- Views: 732
Re: Crash with PB 6.10 b6 with function PeekS / PeekL
I strongly disagree with this 'fix', your app will crash anyway if the target computer has a lot of memory. Accessing pointer with a long read on x64 is wrong and should be fixed, but if you like unstable apps, feel free to apply this kind of hacks. Yes, this is no fix, but a workaround. If he can'...
- Sun Mar 10, 2024 10:59 am
- Forum: Coding Questions
- Topic: Crash with PB 6.10 b6 with function PeekS / PeekL
- Replies: 22
- Views: 732
Re: Crash with PB 6.10 b6 with function PeekS / PeekL
You could disable 64-bit-ASLR.
You code will still be wrong, but your crashes with PB 6.10 should disappear.
You code will still be wrong, but your crashes with PB 6.10 should disappear.
Code: Select all
Import "/HIGHENTROPYVA:NO" : EndImport
- Sat Mar 09, 2024 4:46 pm
- Forum: Bugs - IDE
- Topic: Text not readable (Linux)
- Replies: 8
- Views: 307
Re: Text not readable (Linux)
The IDE is open source: ScintillaHighlighting.pb
- Sat Mar 09, 2024 9:25 am
- Forum: Bugs - IDE
- Topic: Text not readable (Linux)
- Replies: 8
- Views: 307
Re: Text not readable (Linux)
This was actually fixed . Maybe it's different on Linux. Scintilla now have 4 different color settings for selection :shock: #define SC_ELEMENT_SELECTION_TEXT 10 #define SC_ELEMENT_SELECTION_BACK 11 #define SC_ELEMENT_SELECTION_ADDITIONAL_TEXT 12 #define SC_ELEMENT_SELECTION_ADDITIONAL_BACK 13 #defi...
- Mon Mar 04, 2024 1:04 pm
- Forum: Bugs - Windows
- Topic: [Done] Icon in tray disappears after restart of the explorer
- Replies: 17
- Views: 770
Re: Icon in tray disappears after restart of the explorer
Windows Explorer sends a TaskbarCreated message. In your WindowsCallback you can wait for this message and than recreate your icons.
https://www.purebasic.fr/english/viewtopic.php?t=60579
https://www.purebasic.fr/english/viewtopic.php?t=60579
- Wed Feb 28, 2024 10:11 am
- Forum: Feature Requests and Wishlists
- Topic: SyntaxHighlighting.dll for Linux (?)
- Replies: 5
- Views: 339
Re: SyntaxHighlighting.dll for Linux (?)
I did say you need to fix the InitSyntaxCheckArrays() to fix the Syntaxhighlighting.so crashing.
Why you coming up with Xincludefile?
Why you coming up with Xincludefile?