alogrep 0 Posted October 16, 2022 Hello. Delphi 11.2 I have 2 "errors" that show in this page (see errors.jpg). Yet the project builds and runs ok. I can not decipher the nature of the (false alarm?) errors. One is this (see error2.jpg) The declaration of nxcheck is this: type Tnxcheck = class(TForm) nxSimpleSession: TnxSimpleSession; nxRemoteServerInfoPlugin: TnxRemoteServerInfoPlugin; l1: TListBox; nxsock: TnxWinsockTransport; procedure FormCreate(Sender: TObject); procedure FormDestroy(Sender: TObject); private { Private declarations } public { Public declarations } function ison(s: string): boolean; end; var nxcheck: Tnxcheck; implementation ..... Why create(nil) yields "too many actua parameters"? I have dozenns of create(Nil) in =other places, with no error . The other is shown in error1.jpg. I can't figure what operator is supposed to be missing here. Any help, please? Share this post Link to post
Stano 143 Posted October 17, 2022 error1.jpg. I'm just guessing to the best of my knowledge. Is Tbasicdm a TDataModule? The parameter is of type TForm. I don't know if they are interchangeable. Share this post Link to post
Jasocul 0 Posted October 17, 2022 Could it be a consequential error because of the error in line 255? Perhaps tnxcheck is redefined? Share this post Link to post
Lajos Juhász 293 Posted October 17, 2022 Delphi is known to have false positives in Error Insight. Share this post Link to post
Jirka52 2 Posted October 17, 2022 Simple solution -> disable :Error insight". I did it in 11.2 Share this post Link to post
PeterBelow 238 Posted October 17, 2022 13 hours ago, alogrep said: in Tbasicdm.DatamoduleCreate, is there really an underscore in the line after begin? That would be the source of the first error. The second may be a false positive, error insight is easily confused by conditional compilation... Share this post Link to post
Lajos Juhász 293 Posted October 17, 2022 2 minutes ago, PeterBelow said: in Tbasicdm.DatamoduleCreate, is there really an underscore in the line after begin? That would be the source of the first error. The second may be a false positive, error insight is easily confused by conditional compilation... Both are false positives as the original messages says (the project builds and runs ok): Quote Hello. Delphi 11.2 I have 2 "errors" that show in this page (see errors.jpg). Yet the project builds and runs ok. Share this post Link to post
Pat Foley 51 Posted October 17, 2022 Would insert inherited at line 255 be solution? Share this post Link to post
alogrep 0 Posted October 18, 2022 Thanks to everybody. It all disapperad, by itself. I guess "Error insight" was the culprit. Share this post Link to post