View Full Version : EurekaLog inside ActiveX - access violation on exit
alexu
23-Mar-2006, 05:19 PM
We are evaluating EurekaLog for one of our projects and we are having issues with ActiveX compiled with EurekaLog support.
Scenario:
Delphi ActiveX control, compiled with EurekaLog
Delphi host application that uses that ActiveX
Everything works fine, but when I try exiting host application I get access violation dialog.
The weird thing that it happens even if I try terminate host application by calling ExitProcess() I still get AV.
Things I tried (none of them helped)
-Manually creating/destroying ActiveX with EurekaLog - no errors on destroying ActiveX, but still AV on exit from the process
-Disabling EurekaLog in the ActiveX just before its being destroed by calling SetEurekaLogState() - does not change a thing...
Soooo.... Is there anything special we should know about using this tool inside ActiveX controls? Any suggestions on what should we try next?
alexu
23-Mar-2006, 05:20 PM
Delphi 7
Latest EurekaLog (downloaded yesterday)
We are evaluating EurekaLog for one of our projects and we are having issues with ActiveX compiled with EurekaLog support.
Scenario:
Delphi ActiveX control, compiled with EurekaLog
Delphi host application that uses that ActiveX
Everything works fine, but when I try exiting host application I get access violation dialog.
The weird thing that it happens even if I try terminate host application by calling ExitProcess() I still get AV.
Things I tried (none of them helped)
-Manually creating/destroying ActiveX with EurekaLog - no errors on destroying ActiveX, but still AV on exit from the process
-Disabling EurekaLog in the ActiveX just before its being destroed by calling SetEurekaLogState() - does not change a thing...
Soooo.... Is there anything special we should know about using this tool inside ActiveX controls? Any suggestions on what should we try next?
admin
24-Mar-2006, 09:14 AM
alexu wrote:
> We are evaluating EurekaLog for one of our projects and we are having
> issues with ActiveX compiled with EurekaLog support.
>
> Scenario:
> Delphi ActiveX control, compiled with EurekaLog
> Delphi host application that uses that ActiveX
> Everything works fine, but when I try exiting host application I get
> access violation dialog.
>
> The weird thing that it happens even if I try terminate host
> application by calling ExitProcess() I still get AV.
>
> Things I tried (none of them helped)
> -Manually creating/destroying ActiveX with EurekaLog - no errors on
> destroying ActiveX, but still AV on exit from the process
> -Disabling EurekaLog in the ActiveX just before its being destroed by
> calling SetEurekaLogState() - does not change a thing...
>
> Soooo.... Is there anything special we should know about using this
> tool inside ActiveX controls? Any suggestions on what should we try
> next?
If the AV is showed in an EurekaLog dialog can you send to me the
relative EurekaLog generated log file (.elf), please?
Otherwise can you create a little source demo able to reproduce this
strange bug?
Otherwise, if you want, I can connect with your PC using the open-source
UltraVNC remote control tool (http://ultravnc.sf.net), so to can
definitely check the problem on your PC, ok?
If you want do the following points:
1)...download the binary version at:
http://prdownloads.sourceforge.net/ultravnc/UltraVnc-101-Setup.zip?download
2)...unzip it
3)...run the winvnc.exe server
4)...type a password (I must know it to can access to your PC)
5)...click on OK (the server will go in the tray-bar)
6)...tell me your IP and the choice password and I'll connect directly
with your PC (with chat service enabled).
If your PC is protected by router/firewall then you must open the 5900
port or set the winvnc to works with other your opened port.
I'm waiting for your feedback ASAP, ok? :)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!
alexu
24-Mar-2006, 06:25 PM
Fabio
Thank you for engaging the issue. Fortunately we figured out the problem ourselves.
We use alternative memory manager in our ActiveX project ( QMemory ) and it was conflicting with EurekaLog, when ExceptionLog was the first unit in the project uses clause. Once we moved ExceptionLog to the 3rd position (after QMemory and ComServ) everything started to work as it should.
We bought a real license yesterday, so if we find any related issues you will hear from us again
Alex
admin
27-Mar-2006, 07:13 AM
Hi,
alexu wrote:
> Fabio
>
> Thank you for engaging the issue. Fortunately we figured out the
> problem ourselves.
>
> We use alternative memory manager in our ActiveX project ( QMemory )
> and it was conflicting with EurekaLog, when ExceptionLog was the first
> unit in the project uses clause. Once we moved ExceptionLog to the 3rd
> position (after QMemory and ComServ) everything started to work as it
> should.
>
> We bought a real license yesterday, so if we find any related issues
> you will hear from us again
>
> Alex
Can you try to place ExceptionLog unit as second unit (after QMemory),
please?
I need to know if so it works, ok? ;)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!
alexu
28-Mar-2006, 11:16 PM
It a couple tests I made It did work fine when ExceptionLog is decalred second. But I felt that it needed to be 3rd due to COM-initialization that happens inside ComSrv.pas. Do not take it personal :)
admin
30-Mar-2006, 02:59 PM
Hi,
alexu wrote:
> It a couple tests I made It did work fine when ExceptionLog is decalred
> second. But I felt that it needed to be 3rd due to COM-initialization
> that happens inside ComSrv.pas. Do not take it personal :)
OK, thank you! :)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.