Search found 82 matches

by Teddy Rogers
Thu Mar 14, 2024 2:07 pm
Forum: General Discussion
Topic: [PB6.10B8] Vast Increase in Compiled Size
Replies: 3
Views: 247

Re: [PB6.10B8] Vast Increase in Compiled Size

Since 6.10 Purebasic has started static linking the MS runtime, as previously it linked with the MSVCRT.dll that ships with windows. This blog post has details about this https://www.purebasic.fr/blog/?p=538 I read the blog entry back in November, obviously forgot all about 6.10 being affected by i...
by Teddy Rogers
Thu Mar 14, 2024 6:15 am
Forum: General Discussion
Topic: [PB6.10B8] Vast Increase in Compiled Size
Replies: 3
Views: 247

[PB6.10B8] Vast Increase in Compiled Size

I have not tried any other betas than 6.10 beta 8 so I can't tell if this problem is specific to beta 8. I have a program compiled using 6.04 LTS to 153KB in size. In 6.10 beta 8 this now compiles to 359KB. Using both C and ASM backend compilers produce similar filesize results. Is this normal? Ted....
by Teddy Rogers
Sat Dec 30, 2023 12:53 am
Forum: Bugs - Documentation
Topic: Enable DLL Protection (Windows only)
Replies: 1
Views: 600

Enable DLL Protection (Windows only)

I note in PureBasic 6.04 LTS there is a new DLL protection feature in compiler options. The English translation in the documentation is not well worded. From the wording in the documentation, my understanding, is the default search directory of system DLL's is restricted to the System32 folder. Plea...
by Teddy Rogers
Sun May 02, 2021 2:24 am
Forum: Assembly and C Programming in PureBasic
Topic: AVX-512 Instruction
Replies: 8
Views: 8507

Re: AVX-512 Instruction

Thank you for the info and links. Good to read this change is coming! I see it being an advantage in the long term as it may help to speed up development of PureBasic and have a quicker turn around introducing and supporting new hardware and OS features...

Ted.
by Teddy Rogers
Sat Apr 17, 2021 6:23 am
Forum: Assembly and C Programming in PureBasic
Topic: AVX-512 Instruction
Replies: 8
Views: 8507

Re: AVX-512 Instruction

Keya wrote: Thu Apr 15, 2021 4:59 am PB moving to a C compiler
Is this is a fact or a wish list comment? If fact where is this information to be found on PB's roadmap!

Ted.
by Teddy Rogers
Sun Jun 23, 2019 9:22 pm
Forum: Announcement
Topic: PureBasic 5.71 LTS is out !
Replies: 86
Views: 60787

Re: PureBasic 5.71 LTS beta 2 is out !

Anyone else noticed a change in the font/scaling size for the tab and panel contents in the latest beta (not tried b1)? The font appears too small compared to 5.70 which, seemed fine to me.

Ted.
by Teddy Rogers
Sat Jun 02, 2018 4:44 am
Forum: Announcement
Topic: PureBasic 5.70 LTS is out !
Replies: 252
Views: 134107

Re: PureBasic 5.70 LTS beta 1 is out !

Thanks for the DPI Aware feature. Any thoughts about PerMonitor Awareness? It can be set in the manifest, too. <dpiAware>True/PM</dpiAware> <dpiAwareness>PerMonitorV2, PerMonitor</dpiAwareness> High-DPI Scaling Improvements for Desktop Applications in the Windows 10 Creators Update (1703) I'm going...
by Teddy Rogers
Thu Apr 27, 2017 2:08 am
Forum: Coding Questions
Topic: Dynamic ReadPreferenceString String Length...
Replies: 4
Views: 1596

Re: Dynamic ReadPreferenceString String Length...

Apologies for not being clear. If I have a preference file that can be edited by the user with a new custom key value the result from ReadPreferenceString is of an unknown string length. Where I will be using some of the strings they need to be, at some point limited to a maximum string length. I do...
by Teddy Rogers
Wed Apr 26, 2017 6:00 pm
Forum: Coding Questions
Topic: Dynamic ReadPreferenceString String Length...
Replies: 4
Views: 1596

Dynamic ReadPreferenceString String Length...

Is there a max string length for ReadPreferenceString? Is it possible to work out the string length before ReadPreferenceString, without having to manually count string length ahead, so that I can dynamically allocate required string size/space? I can opt to either use a predefined size, though it i...
by Teddy Rogers
Mon Jan 02, 2017 5:22 pm
Forum: Coding Questions
Topic: ImageMenu DPI Aware Resolution Icons...
Replies: 1
Views: 1388

Re: ImageMenu DPI Aware Resolution Icons...

I haven't been able to do much with PB's owner-drawn CreatePopupImageMenu without messing it up. I have been able to easily use the standard CreatePopupMenu to better deploy DPI aware icons in to the menu items. Whilst there are still a number of limitations and nuances using this method it seems to...
by Teddy Rogers
Mon Jan 02, 2017 2:04 am
Forum: Coding Questions
Topic: ImageMenu DPI Aware Resolution Icons...
Replies: 1
Views: 1388

ImageMenu DPI Aware Resolution Icons...

PB does not currently support high resolution icons for DPI aware applications for use in it's own image menus?

https://msdn.microsoft.com/en-us/librar ... s.85).aspx

Ted.
by Teddy Rogers
Mon Aug 29, 2016 2:08 pm
Forum: Announcement
Topic: GDI+, the beginnings of a class-based wrapper
Replies: 16
Views: 10157

Re: GDI+, the beginnings of a class-based wrapper

I know this is an old topic of a few years, the dead never die! Just wanted to say thanks for this and to find out if the wrapper was ever completed?

Also does anyone have the gdiplus.chm file used here please?

http://purebasic.developpez.com/tutorie ... mentation/

Ted.
by Teddy Rogers
Thu Jul 28, 2016 12:53 pm
Forum: Coding Questions
Topic: Window scaling problem [Windows 10]
Replies: 16
Views: 3325

Re: Window scaling problem [Windows 10]

Procedure SetWindowProcessDPI() #PROCESS_SYSTEM_DPI_AWARE = 1 If Shcore If SetProcessDpiAwareness If SetProcessDpiAwareness(#PROCESS_SYSTEM_DPI_AWARE) = #S_OK ProcedureReturn #True EndIf EndIf EndIf If User32 If SetProcessDPIAware If SetProcessDPIAware() ProcedureReturn #True EndIf EndIf EndIf Proc...