Search found 364 matches

by juergenkulow
Wed Apr 17, 2024 5:37 pm
Forum: Bugs - Windows
Topic: [PB 6.03 x64] DLL negative return value difference Asm and C
Replies: 6
Views: 599

Re: [PB 6.03 x64] DLL negative return value difference Asm and C

If there was a compiler warning "Return type of prototype does not match type of variable. " that would be practical. The different behavior of the two backends still exists in 6.10 LTS(x64).
by juergenkulow
Wed Apr 10, 2024 2:11 pm
Forum: Bugs - C backend
Topic: [6.10 beta 9] Assembler error
Replies: 12
Views: 597

Re: [6.10 beta 9] Assembler error

Silly question: What happens to the typedefs if you insert the following lines:

Code: Select all

Structure zzzz : zzzz.s{640} : EndStructure 
Structure zzzy : zzzy.s{639} : EndStructure
by juergenkulow
Tue Apr 09, 2024 8:12 am
Forum: Bugs - Windows
Topic: [Done] [6.10LTS WIN x86 ASM / C] SvgVectorOutput() causes IMA
Replies: 10
Views: 301

Re: [6.10LTS WIN x86 ASM / C] SvgVectorOutput() causes IMA

Have SvgVectorOutput and PdfVectorOutput been tested with Beta 9 x86?
by juergenkulow
Sat Apr 06, 2024 9:35 am
Forum: Bugs - Windows
Topic: InsertJSONList() Crashed on bigger Lists
Replies: 5
Views: 271

Re: InsertJSONList() Crashed on bigger Lists

; InsertJSONList with 19,000,000 list elements Win x86 ERROR_NOT_ENOUGH_MEMORY NewList Names.s() For i=1 To 19000000 AddElement(Names()): Names() = Str(i) Next If CreateJSON(0) InsertJSONList(JSONValue(0), Names()) Debug "Ready" EndIf ; [09:54:13] Warte auf den Start des Executable... ; [...
by juergenkulow
Fri Apr 05, 2024 9:11 pm
Forum: Bugs - C backend
Topic: [Done] 6.10 Another ReDim error on deeper structured arrays
Replies: 16
Views: 926

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

; Redim aTI instead of aCI Structure aTIType nCols.i DDL$ Table$ nRows.i Array aCI.i(1) EndStructure Structure TDType numPara.i nPts.i EndStructure Structure dType Array aTI.aTIType(10) EndStructure *d.dType=AllocateStructure(dType) *d\aTI(itbl)\nCols=42 Define *TD.TDType=AllocateStructure(TDType) ...
by juergenkulow
Thu Apr 04, 2024 6:30 pm
Forum: Bugs - C backend
Topic: [Done] 6.10 Another ReDim error on deeper structured arrays
Replies: 16
Views: 926

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

scroll right: // ReDim arr0(cnt0)\dat1(cnt1)\dat2(arr0(cnt0)\dat1(cnt1)\x2 * arr0(cnt0)\dat1(cnt1)\y2) SYS_ReAllocateArray(((((s_two*)((s_one*)a_arr0.a)[(integer)g_cnt0].f_dat1.a)[(integer)g_cnt1].f_x2*((s_two*)((s_one*)a_arr0.a)[(integer)g_cnt0].f_dat1.a)[(integer)g_cnt1].f_y2)+1),&((s_one*)a_a...
by juergenkulow
Thu Apr 04, 2024 10:43 am
Forum: Bugs - Windows
Topic: [Done] LoadImage crashes on faulty BMP-image
Replies: 10
Views: 540

Re: LoadImage crashes on faulty BMP-image

Unhandled exception at 0x000000013f712800 in PureBasic_Compilation0.exe:0xC0000005: Access violation reading location 0x0000000004a82000. 000000013F712800 movzx eax,byte ptr [r10] R10 = 0000000004A82000 > PureBasic_Compilation0.exe!000000013f712800() [Frames below may be incorrect and/or missing, n...
by juergenkulow
Thu Apr 04, 2024 7:11 am
Forum: Bugs - Windows
Topic: [Done] PB 6.10 x86 ASM-backend - IMA at DeleteMapElement() with key
Replies: 4
Views: 402

Re: PB 6.10 x86 ASM-backend - IMA at DeleteMapElement() with key

; DeleteMapElement IMA at "7" Define NewMap Test.i() Define I.i For I = 1 To 100 AddMapElement(Test(),Str(I)) Next Debug MapSize(Test()) DeleteMapElement(Test(),"1") DeleteMapElement(Test(),"2") DeleteMapElement(Test(),"3") DeleteMapElement(Test(),"4&quo...
by juergenkulow
Sat Mar 30, 2024 8:05 am
Forum: Coding Questions
Topic: this doc Example compile with debugger out: ERROR
Replies: 8
Views: 217

Re: this doc Example compile with debugger out: ERROR

Linux Mint 21 Cinnamon 5.4.12 Warning on Terminal:

Code: Select all

libEGL warning: egl: failed to create dri2 screen
by juergenkulow
Sat Mar 30, 2024 7:58 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 334
Views: 41913

Re: PureBasic 6.10 LTS is out !

useful wrote: Sat Mar 30, 2024 4:05 am Why is there no page dedicated to "inline c" in the documentation?

Bugs - Documentation; Embedding C code in PB source need to be described
is still an issue for @Fred
by juergenkulow
Sat Mar 30, 2024 7:51 am
Forum: 3D Programming
Topic: Ocean v2 (shader OpenGL)
Replies: 24
Views: 7962

Re: Ocean v2 (shader OpenGL)

Psychophanta wrote: Line 705: write error at address 0
What is rip, the instruction the rip points to, the registers and the stack at the IMA?
Which Windows version with which language version do you use exactly?
by juergenkulow
Wed Mar 27, 2024 3:45 pm
Forum: Coding Questions
Topic: IMA error with ExamineIPAddresses(#PB_Network_IPv4)
Replies: 9
Views: 331

Re: IMA error with ExamineIPAddresses(#PB_Network_IPv4)

Which MX Linux version are you using?
What is rip, the instruction the rip points to, the registers and the stack at the IMA?
Is it an MX Linux or PureBasic problem?
by juergenkulow
Wed Mar 27, 2024 10:31 am
Forum: Bugs - C backend
Topic: [6.10 beta 9] Assembler error
Replies: 12
Views: 597

Re: [6.10 beta 9] Assembler error

Have you found the following typedef in purebasic.c

Code: Select all

#define SYS_BankerRoundQuad(x) pb_llrint(x)
typedef struct { char a[4]; } ft_4;
typedef struct { char a[8]; } ft_8;
typedef struct { char a[1278]; } ft_1278; 
integer __stdcall f_selectobject_(integer,integer) asm("_SelectObject@8");