Hola Amigos :
estoy utilizando en una aplicacion un ocx provisto por Epson como driver de una impresora por lo cual uso un control activex para realizar la impresion .
Ahora observo como al imprimir la aplicacion aumenta el consumo de memoria durante la impresion y no es liberada cuando termina la misma . Por lo cual al realizar varias impresiones se incrementa en 40 Kbyte a 50 Kbyte por cada impresion el uso de memoria ram .
Pruebo con los ejemplos provisto por HMG 3.4.4 y noto el mismo comportamiento por ejemplo en el demo4 aunque con menor consumo de recursos .
Es normal este desempeño del control activeX en HMG ?
Saludos cordiales
Mario Mansilla
Hello friends :
I am using in an application an ocx provided by Epson as a printer driver so I use activex control to print.
Now I see how printing the application increases memory consumption during printing and is not released when it ends. Therefore, when making several prints, the use of ram memory is increased by 40 Kbyte to 50 Kbyte.
I test with the examples provided by HMG 3.4.4 and I notice the same behavior for example in demo4 although with less resource consumption.
Is this activeX control performance normal in HMG?
Best regards
Mario Mansilla
Control ActiveX
Moderator: Rathinagiri
-
Mario Mansilla
- Posts: 271
- Joined: Wed Aug 13, 2008 2:35 pm
- Location: Córdoba - Argentina
Re: Control ActiveX
Try command
RELEASE MEMORY
after printing. Maybe it can help you
RELEASE MEMORY
after printing. Maybe it can help you
-
Mario Mansilla
- Posts: 271
- Joined: Wed Aug 13, 2008 2:35 pm
- Location: Córdoba - Argentina
Re: Control ActiveX
Hola Mol :
muchas gracias por tu ayuda .
He colocado un timer que ejecuta ( ReleaseMemoryTest() ) cada 1000 ms en el form main y ademas cada final de modulo coloco RELEASE MEMORY , sin resultados .
Saludos
Mario Rafael Mansilla
Hello mol :
thank you very much for your help .
I have placed a timer that runs (ReleaseMemoryTest ()) every 1000 ms in the main form and in addition to each module end I place RELEASE MEMORY, without results.
Regards
Mario Rafael Mansilla
muchas gracias por tu ayuda .
He colocado un timer que ejecuta ( ReleaseMemoryTest() ) cada 1000 ms en el form main y ademas cada final de modulo coloco RELEASE MEMORY , sin resultados .
Saludos
Mario Rafael Mansilla
Hello mol :
thank you very much for your help .
I have placed a timer that runs (ReleaseMemoryTest ()) every 1000 ms in the main form and in addition to each module end I place RELEASE MEMORY, without results.
Regards
Mario Rafael Mansilla
- danielmaximiliano
- Posts: 2763
- Joined: Fri Apr 09, 2010 4:53 pm
- DBs Used: DBF
- Location: Argentina
- Contact:
Re: Control ActiveX
Hola Mario: hace 5 años uso elActiveX de Hasar para la impresora fiscal 715f que imprime ticket factura todo el dia en una impresora sin presentar inconvenientes de memoria o lentitud de programa...
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace