Search found 296 matches

by fryquez
Fri Apr 12, 2024 6:44 pm
Forum: Applications - Feedback and Discussion
Topic: [IDE Tool] History Viewer 2.20 [Win & LINUX]
Replies: 82
Views: 42863

Re: [IDE Tool] History Viewer 2.20 [Win & LINUX]

@HeXOR, I can't find the download for History Viewer 2.30, your website only offers the old version from 2015.
by fryquez
Mon Apr 08, 2024 1:02 pm
Forum: Windows
Topic: unable to load c2.dll when importing a static library
Replies: 9
Views: 348

Re: unable to load c2.dll when importing a static library

c2.dll is an optional dependency of link.exe. Final release of PB 6.10 remove the VC linker and switch to polink.exe again. Either reinstall PB or grab the c2.dll (and properly more dlls) from a Visual Studio installation: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.3...
by fryquez
Thu Apr 04, 2024 5:19 pm
Forum: Feature Requests and Wishlists
Topic: Keep same CurrentDir if run from taskbar
Replies: 13
Views: 484

Re: Keep same CurrentDir if run from taskbar

If you use taskbar menu, than explorer.exe will start the new instance.
If it does not have any shortcut info it will end up with C:\Windows\System32 working dir.

Don't see how this is related to Purebasic.
by fryquez
Tue Apr 02, 2024 9:53 am
Forum: Bugs - Windows
Topic: [Done] 6.10 GetFunctionEntry error
Replies: 5
Views: 269

Re: 6.10 GetFunctionEntry error

Seems to be a debugger bug.
Wrapping the line with DisableDebugger and EnableDebugger works.
by fryquez
Thu Mar 21, 2024 3:17 pm
Forum: Coding Questions
Topic: Icon display messed up
Replies: 11
Views: 350

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 ...
by fryquez
Tue Mar 19, 2024 7:33 am
Forum: Coding Questions
Topic: Importing the GetVolumeNameForVolumeMountPoint() function?
Replies: 2
Views: 136

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....
by fryquez
Mon Mar 18, 2024 8:36 am
Forum: Bugs - IDE
Topic: [Done] No Autocomplete Popup
Replies: 2
Views: 322

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...
by fryquez
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: 546

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.
by fryquez
Wed Mar 13, 2024 7:53 pm
Forum: Coding Questions
Topic: PB6.10 B8 x64 @DropCallback() mismatch
Replies: 4
Views: 197

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
by fryquez
Mon Mar 11, 2024 12:00 pm
Forum: Bugs - IDE
Topic: [Done] AutoComplete List is sometimes delayed
Replies: 3
Views: 217

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()
by fryquez
Sun Mar 10, 2024 6:56 pm
Forum: Coding Questions
Topic: Crash with PB 6.10 b6 with function PeekS / PeekL
Replies: 22
Views: 775

Re: Crash with PB 6.10 b6 with function PeekS / PeekL

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.
That's right, but this feature is the main reason why his crashes occur with PB 6.10.
by fryquez
Sun Mar 10, 2024 6:42 pm
Forum: Coding Questions
Topic: Crash with PB 6.10 b6 with function PeekS / PeekL
Replies: 22
Views: 775

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?
by fryquez
Sun Mar 10, 2024 5:49 pm
Forum: Coding Questions
Topic: Crash with PB 6.10 b6 with function PeekS / PeekL
Replies: 22
Views: 775

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'...