Re: Phix 0.8.1 uploaded
- Posted by ChrisB (moderator) Apr 07, 2020
- 1539 views
Hi Pete
Trying to run euwingui, interpreted, got this error
Fatal run-time error: C routine Control() needs 6 arguments, not 0
Tried to compile it, got this error
oops, bad IdLinks index, symtab[2198(1305)], line 3432 pEmit2.e oops, bad IdLinks index, symtab[2199(1306)], line 3432 pEmit2.e Fatal run-time error: C routine Control() needs 6 arguments, not 0
This ran with no issues under the previous version, and no modifications (afair) have been made, certainly there is no empty Control() function.
Cheers
Chris
Edit : something odd going on, other programs written with euwingui, using the control function, work fine. Hmmm.
Edit 2: Would this make a difference, Designer.exw has 110 instances of Control(..), whereas the largest of mine (that works) has only 58.
Edit 3 : Nope, that didn't work, I created 120 buttons, worked fine.
Since I don't know where that error occured, it's difficult to pin down any further - any ideas on pinning down the location??
this is the actual function in the wrapper
global function Control(atom controltype, sequence caption, atom posx, atom posy, atom dimx, atom dimy) sgv() return v3_c_func(control,{controltype,caption,posx,posy,dimx,dimy}) end function