Search found 4545 matches

by mk-soft
Thu Apr 11, 2024 5:39 pm
Forum: Coding Questions
Topic: PB 6.10 x64 OpenLibrary
Replies: 6
Views: 451

Re: PB 6.10 x64 OpenLibrary

HeX0R wrote: Thu Apr 11, 2024 4:34 pm to keep fair against old codes/coders, at the beginning of PB, there were no integers and longs were the default.
I remember it darkly 8)
by mk-soft
Wed Apr 10, 2024 10:42 pm
Forum: Coding Questions
Topic: DLL returning an integer
Replies: 8
Views: 539

Re: DLL returning an integer

Yes
by mk-soft
Wed Apr 10, 2024 8:23 pm
Forum: Bugs - Mac OSX
Topic: [Done] 6.10 LTS Crashes on Sonoma 14.4.1
Replies: 23
Views: 1150

Re: 6.10 LTS Crashes on Sonoma 14.4.1

Hi Fred,
you are right 8)

In the demo version, both compilers are ASM.
by mk-soft
Wed Apr 10, 2024 7:24 pm
Forum: Bugs - Mac OSX
Topic: [Done] 6.10 LTS Crashes on Sonoma 14.4.1
Replies: 23
Views: 1150

Re: 6.10 LTS Crashes on Sonoma 14.4.1

On my macOS
Terminal:

Code: Select all

softwareupdate --history
Command Line Tools for Xcode                       15.3       06.04.2024, 16:53:29  
macOS Sonoma 14.4.1                              14.4.1     06.04.2024, 16:54:06  
by mk-soft
Wed Apr 10, 2024 4:03 pm
Forum: Bugs - Mac OSX
Topic: [Done] 6.10 LTS Crashes on Sonoma 14.4.1
Replies: 23
Views: 1150

Re: 6.10 LTS Crashes on Sonoma 14.4.1

It is actually sufficient to install the CommandLineTools.
But I also have the latest Xcode.

With the last OS update, however, the current CommandLineTools was also updated.

The error does not occur here.
by mk-soft
Wed Apr 10, 2024 9:48 am
Forum: Coding Questions
Topic: DLL returning an integer
Replies: 8
Views: 539

Re: DLL returning an integer

Normally you pass the buffer size for the string ProcedureDLL MyThirdFunction(*sResult, cntChar) Protected r1.s, len r1 = "returned-some-string" len = Len(r1) If *sResult If len > cntChar len = cntChar EndIf PokeS(*sResult, "returned-some-string", len) EndIf ProcedureReturn len E...
by mk-soft
Tue Apr 09, 2024 9:38 am
Forum: Coding Questions
Topic: Pushbutton Test Toggling
Replies: 8
Views: 305

Re: Pushbutton Test Toggling

I'll put my template for a small test application here. Named enumeration is used here. The numbering can also be continued with the same name in another include file. Each object type of Purebasic has its own numbering. See F1 PureBasic objects overview. ;-TOP #ProgramTitle = "Main Window"...
by mk-soft
Tue Apr 09, 2024 9:10 am
Forum: Bugs - C backend
Topic: [Done] 6.10 Another ReDim error on deeper structured arrays
Replies: 16
Views: 912

Re: [6.10] Another ReDim error on deeper structured arrays

I hope that Fred fixes this bug in the short term
by mk-soft
Mon Apr 08, 2024 7:18 pm
Forum: Bugs - C backend
Topic: [Done] 6.10 Another ReDim error on deeper structured arrays
Replies: 16
Views: 912

Re: [6.10] Another ReDim error on deeper structured arrays

Code: Select all

Debug *d\aTI(0)\nCols
*d\aTI(0)\nCols = *TD\numParm
Debug *d\aTI(0)\nCols
new_size = *d\aTI(0)\nCols-1
by mk-soft
Mon Apr 08, 2024 10:22 am
Forum: Announcement
Topic: RAD EventDesigner V3 (All OS)
Replies: 29
Views: 23643

Re: RAD EventDesigner V3 (All OS)

Update v3.15.7
- Added WebViewGadget
- Added SysTray

;)
by mk-soft
Sun Apr 07, 2024 2:15 pm
Forum: Coding Questions
Topic: How to create constants automatically?
Replies: 12
Views: 566

Re: How to create constants automatically?

Code: Select all

EnableExplicit

Macro const(_cvar,_R,_G,_B)
    _cvar= (_B << 16 | _G << 8 | _R)
EndMacro

#R=$FF
#G=$B2
#B=$00

const(#MYCOLOR,#R,#G,#B)   ; should result in #MYCOLOR=$FFB200 (16757248)

Debug Hex(#MYCOLOR)

Debug Red(#mycolor)
by mk-soft
Sun Apr 07, 2024 9:34 am
Forum: Bugs - Documentation
Topic: Linux SysTray
Replies: 4
Views: 245

Linux SysTray

After the internal systray functions were finally removed from the GTK3 system, libappindicator3-1 is now used. Unfortunately there is no possibility to capture mouse clicks as this is not supported. Therefore the event #PB_Event_SysTray is omitted for Linux. This is still missing in the documentati...
by mk-soft
Sun Apr 07, 2024 9:10 am
Forum: Coding Questions
Topic: [SOLVED] [PB6.10] Another Polink error
Replies: 5
Views: 262

Re: [PB6.10] Another Polink error

You must recompile the external user library with the current PB version.
That's why I don't use external user libraries without source codes.
by mk-soft
Sat Apr 06, 2024 11:43 pm
Forum: Bugs - Linux
Topic: Purebasic 6.10 - #PB_Event_SysTray
Replies: 1
Views: 176

Re: Purebasic 6.10 - #PB_Event_SysTray

Gdk (CRITICAL): gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed You can ignore this message. Only occurs sometimes and depending on the linux distribution. The second point is more difficult: With the last GTK3 version, the old GTK internal Systr...
by mk-soft
Sat Apr 06, 2024 7:07 pm
Forum: Bugs - C backend
Topic: [Done] 6.10 Another ReDim error on deeper structured arrays
Replies: 16
Views: 912

Re: [6.10] Another ReDim error on deeper structured arrays

If you still have beta 8, you can use the pbcompiler in the LTS. Simply replace it. There are only small differences until this has been repaired.