Search found 4522 matches

by mk-soft
Mon Apr 15, 2024 8:31 am
Forum: Coding Questions
Topic: Can you check this out? (mac os)
Replies: 25
Views: 4589

Re: Can you check this out? (mac os)

can you check what the "LeftClickEvent()" procedure returns? ; https://www.purebasic.fr/english/viewtopic.php?t=60782 Procedure LeftClickEvent() Debug "click" Debug Str(EventMenu()) ; why return 111? Debug Str(EventGadget()) ; why return 111? Debug Str(EventWindow()) EndProcedur...
by mk-soft
Sun Apr 14, 2024 5:17 pm
Forum: Coding Questions
Topic: Process owner over LAN - SOLVED
Replies: 8
Views: 1902

Re: Process owner over LAN - SOLVED

I think the Username must be defined as Variant ... Alternative to COMate with ActiveScript. Returns the domain and username Update ;-TOP ; Comment : Modul ActiveScript Example 20 ; Version : v2.10.1 ; Link to ActiveScript : https://www.purebasic.fr/english/viewtopic.php?f=12&t=71399 ; Link to S...
by mk-soft
Sun Apr 14, 2024 3:34 pm
Forum: Coding Questions
Topic: Setting and Getting GadgetITemData on a ListIconGadget
Replies: 7
Views: 328

Re: Setting and Getting GadgetITemData on a ListIconGadget

I have 11 fingers ...

left side. 10, 9, 8, 7, 6 and right side 5, together 11 8)
by mk-soft
Sun Apr 14, 2024 12:27 pm
Forum: Tricks 'n' Tips
Topic: Module ActiveScript for VBScript and JScript with PB-Runtime Variables
Replies: 43
Views: 21318

Re: Module ActiveScript for VBScript and JScript with PB-Runtime Variables

AddOn SmartTags Update v2.06 - Added SmartTags as object method - Set and get SmartTags explizite as text * Modul SmartTags The SmartTags can now be used as object methods. As you often forget to release the object again (Set Obj = Nothing), these are automatically released at the end. In addition,...
by mk-soft
Sat Apr 13, 2024 11:32 pm
Forum: Tricks 'n' Tips
Topic: Module ActiveScript for VBScript and JScript with PB-Runtime Variables
Replies: 43
Views: 21318

Re: Module ActiveScript for VB-Script with PB-Runtime Variables

Update v2.10
- Bugfix release objects

Found another bug and optimised the release of the objects :wink:
by mk-soft
Sat Apr 13, 2024 10:33 am
Forum: Coding Questions
Topic: Is SkewCoordinates() bugged ?
Replies: 1
Views: 100

Re: Is SkewCoordinates() bugged ?

No, Is written on the left. I have added an auxiliary line. If OpenWindow(0, 0, 0, 400, 200, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) CanvasGadget(0, 0, 0, 400, 200) If StartVectorDrawing(CanvasVectorOutput(0)) SkewCoordinates(45, 0) MovePathCursor(0, 0) AddPathL...
by mk-soft
Thu Apr 11, 2024 5:45 pm
Forum: Bugs - Linux
Topic: Done: PB6.10: Old Compiler in Package 6.10 LTS for Linux (Ubuntu 20.04 or 22.04 - x64)
Replies: 2
Views: 206

Re: PB6.10: Old Compiler in Package 6.10 LTS for Linux (Ubuntu 20.04 or 22.04 - x64)

Could it be that you have not yet updated the compilers in Preferences -> Compiler ?
You can add several compilers there.
by mk-soft
Thu Apr 11, 2024 5:39 pm
Forum: Coding Questions
Topic: PB 6.10 x64 OpenLibrary
Replies: 6
Views: 375

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

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: 21
Views: 712

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: 21
Views: 712

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: 21
Views: 712

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

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

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

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

I hope that Fred fixes this bug in the short term