Search found 299 matches

by fryquez
Wed Apr 24, 2024 1:34 pm
Forum: Windows
Topic: Visual Studio linker download
Replies: 9
Views: 123

Visual Studio linker download

As the Visual Studio linker can't be redistributed, here is a download solution. Copy the respected vc folder into Compilers directory of your PureBasic 6.10 installation. EnableExplicit UseZipPacker() Procedure UnPackDelete(sVSIX.s, sOut.s) Protected sPattern.s = "*/cvtres.exe;*/link.exe;*/msp...
by fryquez
Fri Apr 19, 2024 2:00 pm
Forum: Bugs - Windows
Topic: NOT a bug >> PB 6.11 b1 : exe does not display its new shiny icon
Replies: 9
Views: 379

Re: PB 6.11 b1 : exe does not display its new shiny icon

Fred wrote: Fri Apr 19, 2024 1:28 pm Thanks, I will use this file for the next beta (seems also smaller, why ?)
It uses PNG compression for the 256 pixel one.
by fryquez
Fri Apr 19, 2024 12:49 pm
Forum: Bugs - Windows
Topic: NOT a bug >> PB 6.11 b1 : exe does not display its new shiny icon
Replies: 9
Views: 379

Re: PB 6.11 b1 : exe does not display its new shiny icon

Maybe a windows icon cache problem, but the new icon is also creepy.

Try to compile with this: https://gofile.io/d/3Apy6j
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: 43713

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: 420

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: 606

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: 311

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: 381

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: 152

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: 338

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: 556

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: 204

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: 227

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()