Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
Hello Graeme. IMHO, the guilty is here, in msedisignparser.pas (Sadly I did not find any example how to use TParameterFlag. The goal is to ignore first parameter if fpc >= 3.2.x) procedure getmethodparaminfo(const atype: ptypeinfo; var info:

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
> near the bottom of the page is a link to the development page Ooops, indeed, all what needed is there. Thanks. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Patrick Goupell
On 4/24/19 10:06 PM, Fred van Stappen wrote: >The source for FPC can be downloaded from the www.freepascal.org site. > Follow the Download link on the right side of the screen. Thanks Patrick. But it seems that only source of official release fpc 3.0.4 can be

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Graeme Geldenhuys
On 25/04/2019 14:30, fredvs wrote: >> for pfHidden in the parameter flags and ignore them. > Not yet understood but maybe only changing a parameter should do the trick. You followed exactly what I would have done. Searching the source code for TParamFlag and see what it does with it. >From the

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
Hello Graeme. > > > http://wiki.freepascal.org/User_Changes_Trunk#TParamFlag_extended_for_hidden_parameters Ha, you touch something there. A "search in directories" reveal that tparamflag is only used in msedesignparser.pas (from where come the problem). So now the goal is to understand how to

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Fred van Stappen
> With 3.2.0 something obviously changed that "self" parameter is now > treated as a normal parameter, and not the hidden parameter that FPC injects. Aie, mama mia ;-( ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Graeme Geldenhuys
On 25/04/2019 13:06, Graeme Geldenhuys wrote: > This might be the cause of the problem. It is listed under FPC's > possible code breaking changes for 3.2.0 (what used to be Trunk). > > > http://wiki.freepascal.org/User_Changes_Trunk#TParamFlag_extended_for_hidden_parameters See also section

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Graeme Geldenhuys
On 25/04/2019 12:56, fredvs wrote: > procedure onexec2($self: Pointer; const sender: Tobject); ---> that is not > normal. > > What are the big changes of fpc 3.0.4 vs 3.2.0 ? > > Very strange to get 2 different results with same code but different > compilers. OK, I'm not an expert at this,

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
> He then confirmed that IFI is now a requirement. In mseifiglob, needed to compile mseide: {$ifdef mse_no_ifi} {$error 'MSEifi support required, please do not compile with "-dmse_no_ifi"'} {$endif} -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
Hello Graeme. Thanks for the infos about IFI, I will study it. I did some tests. Using your fixes and compiling mseide with fpc 3.0.4.: I did create a new project, with one form and one button, and assigning, via object inspector, "onexec" procedure to button.onecexute:

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Graeme Geldenhuys
On 25/04/2019 12:17, Fred van Stappen wrote: > PS: Huh, but what is the goal of IFI, Google-search dont give any help. You'll have to search the mailing list archive messages. Martin once described it to me years ago, but I can't remember all the details. I also know that at years ago

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Fred van Stappen
Hello Graeme. > And are we certain that my changes are the cause of those issues? I will jump into it this night. PS: Huh, but what is the goal of IFI, Google-search dont give any help. Fre;D De : Graeme Geldenhuys Envoyé : jeudi 25 avril 2019 13:01 À :

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Graeme Geldenhuys
On 25/04/2019 11:52, Fred van Stappen wrote: > Indeed, strange things append. And are we certain that my changes are the cause of those issues? What I changed was a simple method signature related to an ifi interface declaration. I thought that IFI is only for remote application and display

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Fred van Stappen
Hello code dz. Indeed, strange things append. After creating a new project with a single form an a button, assigning button1.onexec method generate strange code: unit main; ... type tmainfo = class(tmainform) tbutton1: tbutton; procedure onexec($self: Pointer; const sender: TObject);

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Graeme Geldenhuys
On 25/04/2019 06:17, code dz wrote: > seems this patch is not enough > try create a gui app , add an event , and you will see some thing like I compiled the ide and opened my usual projects, compiled those projects and it was fine for that purpose. Then again, I don't use MSEide to develop MSEgui