Page 1 of 2

Re: ACTIVEX ACCESS_VIOLATION

Posted: Wed Jun 14, 2023 11:21 am
by reinaldocrespo
I'm sorry I know this post is from 2018 but I have a similar problem. I use an OCX from Topaz to gather patient signatures on documents. The line hb_gcAll() inside Tdialog breaks the program after a few times being executed.

Has a solution to this been found?

Thank you.

Re: ACTIVEX ACCESS_VIOLATION

Posted: Wed Jun 14, 2023 11:54 am
by Antonio Linares
Dear Reinaldo,

do you get a hb_out.log file ?

If so, please post it here, thanks

Re: ACTIVEX ACCESS_VIOLATION

Posted: Wed Jun 14, 2023 12:27 pm
by reinaldocrespo
Possibly tonight after users are gone, I can access the PCs that have this problem which are the ones using a Topaz signature pad. But I can tell you the top line on the call list looks like this:
Called from HB_GCALL(0)
Called from TDIALOG:END(555) in .\source\classes\DIALOG.PRG
That's how I know the problem is at hb_gcAll(). But this is only happening on the PCs with the Topaz Signature pad. All other PCs running the very same .exe work fine. The only difference is the application on those other PCs never calls any Topaz OCX methods.

For now I commented that line and I'm linking dialog.prg to override that line.

But I know that others in the fwh community are using Topaz signature pads. Are they also commenting this line?

Re: ACTIVEX ACCESS_VIOLATION

Posted: Wed Jun 14, 2023 2:02 pm
by paquitohm
Realmente el problema es muy antiguo.
Otras veces ha ocurrido con CodeJock

https://www.forums.fivetechsupport.com/ ... 15#p145103

Pareciera que hay un problema con determinado tratamiento de determinados objetos OLE

Lo que yo haria seria intentar poner a NIL manualmente y antes de que se cierre el dialogo de la manera concreta posible todos los objetos OLE utilizados

Re: ACTIVEX ACCESS_VIOLATION

Posted: Wed Jun 14, 2023 3:35 pm
by reinaldocrespo
Lo que yo haria seria intentar poner a NIL manualmente y antes de que se cierre el dialogo de la manera concreta posible todos los objetos OLE utilizados
Es buena sugerencia. Puedo ver como eso debiera funcionar.

Gracias.