Search found 102 matches

by drgolf
Mon Jan 26, 2026 2:50 pm
Forum: Bugs - Windows
Topic: [Done] PB640a1 bug with list
Replies: 6
Views: 342

Re: PB640a1 bug with list

This code :

Code: Select all

Global NewList mru.s()

For i=1 To 10
  AddElement(mru())
  mru()=Str(i)+ProgramFilename()
Next
;
ForEach mru()
Debug mru()  
Next
Crash every time with debuger on and dpi checked.
by drgolf
Mon Jan 26, 2026 2:33 pm
Forum: Bugs - Windows
Topic: [Done] PB640a1 : bug with date
Replies: 3
Views: 113

[Done] PB640a1 : bug with date

Hello,

This code crash :

Code: Select all

t$= FormatDate("Y=%yyyy, M= %mm, D=%dd", Date()) +Year(Date())

;[14 :32 :48] [ERREUR] Accès mémoire invalide. (erreur de lecture à l'adresse 18446744072233943232)

by drgolf
Sat Jan 24, 2026 9:06 am
Forum: Bugs - Windows
Topic: [Done] PB640a1 : bug with strings
Replies: 2
Views: 211

[Done] PB640a1 : bug with strings

Hello,


Define s.s,t.s
For i=1 To 10
s=Chr(0)+s+"123"
Next

Debug s

;[08 :58 :59] [ERREUR] Accès mémoire invalide. (erreur de lecture à l'adresse 18446744073709551608)
;[08 :59 :01] Le programme a été arrêté.



This code work with PB 630 but not with 640...

I am affraid for my apps with ...
by drgolf
Fri Jan 23, 2026 5:36 pm
Forum: Bugs - Windows
Topic: [Done] PB640a1 bug with list
Replies: 6
Views: 342

[Done] PB640a1 bug with list

hello,

This code dont work with PB 640 but work with PB 630 (Windows 11 pro) :


Global NewList mru.s()

For i=1 To 10
AddElement(mru())
mru()=Str(i)+ProgramFilename()
Next
;
ForEach mru()
Debug mru()
Next

;;
;[17 :28 :15] Attente du démarrage du programme...
;[17 :28 :15] Type d'exécutable ...
by drgolf
Tue Dec 16, 2025 10:49 am
Forum: The PureBasic Editor
Topic: Add Popupmenu on Template Edition scintilla gadgets
Replies: 0
Views: 505

Add Popupmenu on Template Edition scintilla gadgets

Hello,

On template tool, in edition mode, editors dont have popup menu for clipboard operations, only drop.

I have added a popup menu, lets go...

On the templates.pb file, on the beginning :


Structure Template
Name$
IsDirectory.l
Sublevel.l
IsExpanded.l ; for directories

Comment$
Code ...
by drgolf
Sat Oct 25, 2025 1:36 pm
Forum: Bugs - Windows
Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
Replies: 35
Views: 4593

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report

Hello Pf, me again :

Screenwindowanimation bug : the window n-ui appear with animation.
Click buttons close and show : no animation !

PB 6.30 b4 x64 CBE, windows 11 pro

I know, i know, i am the only one to have this bug...


#HelloWindow = 0
#QuitButton = 0
;
#nwind=1
#showwindow=1
#closewindow ...
by drgolf
Sat Oct 25, 2025 9:00 am
Forum: Bugs - Windows
Topic: ScreenGadget bugs
Replies: 22
Views: 5837

Re: ScreenGadget bugs

Hello,

Another bug (???) with ScreenWindowAnimation :

On ScreenGadgetMultipleWindow example, launch the code, move window 1, then click button show / hide w2 = no animation !

If you launch code without move window1 : animation is visible.

Tested with PB 6.30 B4 x64 C BE, windows 11 pro.

Have a ...
by drgolf
Thu Oct 16, 2025 3:13 pm
Forum: Tricks 'n' Tips
Topic: Password protect zip
Replies: 1
Views: 1180

Password protect zip

Hello,

For create zip files with protected content :


; PB6.30 B3 x64 - Windows 11 Pro
; DrGolf - Oct 2025
; Creation zip file with password protect
; Files needed : libzip.dll and libzip.dll.a
; Here : https://www.freebasic-portal.de/downloads/bibliotheken/libzip-For-freebasic-417.html ...
by drgolf
Tue Oct 07, 2025 12:11 pm
Forum: Bugs - Windows
Topic: ScreenGadget bugs
Replies: 22
Views: 5837

Re: ScreenGadget bugs

Hello Pf,

Here an example of the splitter bug (windows 11 pro) : ima (freeze the exe)

Click bug left or bug right button, on win2.

There is no event of the splitter : not detected by eventscreengadget

AND

getscreengadgetstate for the splitter is always 0



#HelloWindow = 0
#QuitButton = 0 ...
by drgolf
Mon Oct 06, 2025 10:11 am
Forum: Bugs - Windows
Topic: ScreenGadget bugs
Replies: 22
Views: 5837

ScreenGadget bugs

Hello,

In the example : screengadgetmultiplewindow, on window2, tab splitter, move splitter on max right or max left : the app freeze.

I have an error message : accès mémoire invalide, ligne 217.

Very good lib.

Tested with pb 6.30 b3 x64 windows 11 pro.
by drgolf
Sat Sep 13, 2025 10:01 am
Forum: Bugs - Windows
Topic: [Done] OpenFTP not work on 6.21
Replies: 18
Views: 3961

Re: OpenFTP not work on 6.21

Hello Infratec,

As i always said, with anonymous and no pw : work ok.

But with : ftpperso.free.fr, ident and pw, i have on debug Not open, and in console :



* timeout on name lookup is not supported
* Trying 212.27.63.3:21...
* TCP_NODELAY set
* Connected to ftpperso.free.fr (212.27.63.3) port ...
by drgolf
Sat Sep 13, 2025 8:13 am
Forum: Bugs - Windows
Topic: [Done] Stringgadget bug
Replies: 8
Views: 2555

Re: [Done] Stringgadget bug

Thanx !!!
by drgolf
Sat Sep 13, 2025 8:11 am
Forum: Bugs - Windows
Topic: [Done] OpenFTP not work on 6.21
Replies: 18
Views: 3961

Re: OpenFTP not work on 6.21

Hello Fred,

I have tested the new flag #pb_ftp_debug, like this :


serveur.s = "ftpperso.free.fr"
user.s = "mylogin"
pw.s = "mypassword"
port.i = 21

If OpenFTP(0, serveur, user, pw, #PB_FTP_Passive | #PB_FTP_Debug, port)
Debug "Open"

If ExamineFTPDirectory(0)
While NextFTPDirectoryEntry(0 ...
by drgolf
Wed Sep 03, 2025 2:59 pm
Forum: Coding Questions
Topic: Linker error with LibCurl.pbi
Replies: 4
Views: 672

Re: Linker error with LibCurl.pbi

Thanx Infratec, you save my day !

My FTP app, works again ! Cool !
by drgolf
Wed Sep 03, 2025 2:37 pm
Forum: Bugs - Windows
Topic: [Done] Stringgadget bug
Replies: 8
Views: 2555

Re: Stringgadget bug

Hello Fred,

The #es_multiline style dont work with Setwindowlongptr_().

See windows api doc here : https://learn.microsoft.com/fr-fr/windows/win32/controls/edit-control-styles

The stringgadget multiline is usefull because of contextmenu with clipboard functions.

I need to create the control and ...