mpmahen Posted June 20, 2020 Posted June 20, 2020 The file EAppUniGui does not compile in Delphi 10.4 Sydney. It complains about a Boolean vs integer value at the end of the file Quote
Frederick Posted July 3, 2020 Posted July 3, 2020 Any solution to this problem? When adding the EAppUniGUI source file to the DPR file to support running EurekaLog, Delphi 10.3.2 shows an error message: [dcc64 Error] EAppUniGUI.pas(124): E2010 Incompatible types: 'Integer' and 'Boolean' and stops at the following line of EAppUNIGUI: initialization RegisterExceptionHook(Init, Done); // Stops here This did not happen in previous builds of UniGUI. -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1534) Quote
Administrators Farshad Mohajeri Posted July 3, 2020 Administrators Posted July 3, 2020 Hi, Is it in Linux or Delphi? Quote
Administrators Farshad Mohajeri Posted July 3, 2020 Administrators Posted July 3, 2020 I attached the corrected file. It is related to EL version not Delphi or uniGUI version. They have changed some of the types, so it breaks backward compatibility. See file for correct usage: {$define EurekaLog7_8UP} // enable this line if your EurekaLog version is 7.8.0 or newer {$undef EurekaLog7_3UP} // enable this line if your EurekaLog version is 7.3.0 or newer {$ifdef EurekaLog7_8UP} procedure Init(const ALowLevelHooks: Integer); {$else} {$ifdef EurekaLog7_3UP} procedure Init(const ALowLevelHooksAllowed: Boolean); {$else} procedure Init; {$endif} {$endif} EAppUniGUI.pas 2 Quote
picyka Posted July 4, 2020 Posted July 4, 2020 I have a version 7.7.8.31 I commented the line {$ define EurekaLog7_8UP} // enable this line if your version of EurekaLog is 7.8.0 or later // {$ undef EurekaLog7_3UP} // activate this line if your version of EurekaLog is 7.3.0 or later give an error here initialization RegisterExceptionHook (Init, Done); [dcc32 Error] EAppUniGUI.pas (129): E2010 Incompatible types: 'Boolean' and 'Integer' what did i do wrong? Quote
Frederick Posted July 4, 2020 Posted July 4, 2020 Since your version is less than 7.8.0, shouldn't you do the following? // {$ define EurekaLog7_8UP} // enable this line if your version of EurekaLog is 7.8.0 or later {$ undef EurekaLog7_3UP} // activate this line if your version of EurekaLog is 7.3.0 or later Quote
Administrators Farshad Mohajeri Posted July 4, 2020 Administrators Posted July 4, 2020 Actually it should be: {$undef EurekaLog7_8UP} // enable this line if your version of EurekaLog is 7.8.0 or later {$define EurekaLog7_3UP} // activate this line if your version of EurekaLog is 7.3.0 or later Quote
picyka Posted July 4, 2020 Posted July 4, 2020 I can compile, but I get this error there in the attachment. Quote
picyka Posted July 4, 2020 Posted July 4, 2020 {$undef EurekaLog7_8UP} // enable this line if your version of EurekaLog is 7.8.0 or later {$define EurekaLog7_3UP} // activate this line if your version of EurekaLog is 7.3.0 or later Quote
Administrators Farshad Mohajeri Posted August 29, 2020 Administrators Posted August 29, 2020 On 7/4/2020 at 2:02 PM, picyka said: I can compile, but I get this error there in the attachment. You can try these: Test with a blank project and make sure Eurekalog works correctly. You can use our demo project. Then backup first and then delete .proj file of your main project and config Eurekalog again following our docs. Quote
picyka Posted August 29, 2020 Posted August 29, 2020 2 hours ago, Farshad Mohajeri said: Você pode tentar estes: Teste com um projeto em branco e verifique se o Eurekalog funciona corretamente. Você pode usar nosso projeto de demonstração. Em seguida, faça backup primeiro e exclua o arquivo .proj do seu projeto principal e configure o Eurekalog novamente seguindo nossos documentos. Documentation steps: http://unigui.com/doc/online_help/index.html?eurekalog.htm 1: I imported the file C: \ Program Files (x86) \ FMSoft \ Framework \ uniGUI \ Utils \ EurekaLog \ uniGUI.eof I opened the project dpr includes the files: EMemLeaks, EResLeaks, ExceptionLog7, EAppUniGUI, I enabled Eureka according to the attachment. When compiling error attached. Note: I did not use the demo because I have tried it with several times it should not be more original. I'm sorry for the inconvenience. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.