Post bugreports for the Windows version here
drgolf
Enthusiast
Posts: 124 Joined: Tue Mar 03, 2009 3:40 pm
Location: france
Post
by drgolf » Fri Jan 23, 2026 5:36 pm
hello,
This code dont work with PB 640 but work with PB 630 (Windows 11 pro) :
Code: Select all
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: Windows - x64 (64bit, Unicode)
;[17 :28 :15] Exécutable démarré.
;[17 :28 :15] [ERREUR] Ligne: 5
;[17 :28 :15] [ERREUR] Accès mémoire invalide. (erreur de lecture à l'adresse 18446744073105703264)
mk-soft
Always Here
Posts: 6515 Joined: Fri May 12, 2006 6:51 pm
Location: Germany
Post
by mk-soft » Sat Jan 24, 2026 1:18 pm
Short bug code
Code: Select all
;a.s = Str(i) + ProgramFilename()
;a.s = ProgramFilename() + Str(0)
;a.s = Str(i) + CPUName()
a.s = Str(i) + UserName()
; etc
Fred
Administrator
Posts: 18474 Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:
Post
by Fred » Mon Jan 26, 2026 2:40 pm
Does it happen everytime ? Is purifier on ? I can't reproduce it here
breeze4me
Enthusiast
Posts: 660 Joined: Thu Mar 09, 2006 9:24 am
Location: S. Kor
Post
by breeze4me » Mon Jan 26, 2026 2:48 pm
Fred wrote: Mon Jan 26, 2026 2:40 pm
Does it happen everytime ? Is purifier on ? I can't reproduce it here
The error occurs regardless of the purifier setting.
drgolf
Enthusiast
Posts: 124 Joined: Tue Mar 03, 2009 3:40 pm
Location: france
Post
by drgolf » Mon Jan 26, 2026 2:50 pm
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.
fryquez
Enthusiast
Posts: 394 Joined: Mon Dec 21, 2015 8:12 pm
Post
by fryquez » Mon Jan 26, 2026 2:58 pm
You should declare SYS_ConcatString!
Code: Select all
M_SYSFUNCTION(integer) SYS_ConcatString(TCHAR **Address, const TCHAR *String);
Fred
Administrator
Posts: 18474 Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:
Post
by Fred » Mon Jan 26, 2026 3:47 pm
I tried these snippets with other code below, that's why I didn't noticed this error. Now, the gcc backend will report an error if a function prototype isn't declared, as it should never happen. Thanks fryquez !