Jump to content

EAppUniGui


mpmahen

Recommended Posts

  • 2 weeks later...

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)
 

Link to comment
Share on other sites

  • Administrators

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

  • Like 2
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

  • 1 month later...
  • Administrators
On 7/4/2020 at 2:02 PM, picyka said:

I can compile, but I get this error there in the attachment.

 

Capturar1.PNG

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.

Link to comment
Share on other sites

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.

 

Erro.PNG

Enabled.PNG

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...