ACTIVEX ACCESS_VIOLATION

User avatar
reinaldocrespo
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: ACTIVEX ACCESS_VIOLATION

Post 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.
User avatar
Antonio Linares
Site Admin
Posts: 42259
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: ACTIVEX ACCESS_VIOLATION

Post by Antonio Linares »

Dear Reinaldo,

do you get a hb_out.log file ?

If so, please post it here, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
reinaldocrespo
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: ACTIVEX ACCESS_VIOLATION

Post 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?
paquitohm
Posts: 284
Joined: Fri Jan 14, 2022 8:37 am

Re: ACTIVEX ACCESS_VIOLATION

Post 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
User avatar
reinaldocrespo
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: ACTIVEX ACCESS_VIOLATION

Post 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.
Post Reply