Page 1 of 1

About libwinpthread-1.dll

Posted: Thu Apr 23, 2020 1:13 am
by salamandra
Hi to all,
A few days ago I updated HMG 3.3.1 to HMG 3.4.4 to take advantage of the new features. To compile and build my applications I use QPM (formerly QAC - Quiero Algo Comodo) since a long time ago because it is very fast (fastest than HMG Ide) to compile and build.
Now, after HMG update, I have a problem (just one) with libwinpthread-1.dll.
It seems the HMG installer does not register this DLL, nor copies it to WIndows\System32 and/or Windows\SysWow64.
Anybody else facing this problem??

Best regards,

Salamandra - Brazil

Re: About libwinpthread-1.dll

Posted: Thu Apr 23, 2020 12:12 pm
by danielmaximiliano
Ola Salamandra
esa DLL se encuentra en esas rutas, debes agregarlas al PATH , no spy usuario de esa libreria pero si de otras que las agregue como te indiqué
2020-04-23 09_09_20-Window.png
2020-04-23 09_09_20-Window.png (11.45 KiB) Viewed 2385 times

Re: About libwinpthread-1.dll

Posted: Fri Apr 24, 2020 1:42 am
by salamandra
Hola Daniel,
Muchas gracias por tu respuesta y agradezco tu sugerencia para resolver el problema.
La verdad es que no uso absolutamente nada que no este incluido en las librerias que acompañan HMG, luego no consigo imaginar el porque de ese error de runtime de inicio de aplicativo, considerando que durante el build, no hay absolutamente ningun error ni mensaje de cualquier tipo. De mi parte, ya resolvi la cuestion copiando esa DLL para Windows\System32 y Windows\SysWow64 (pero tambien funciona sin problemas si la copio para la misma carpeta del aplicativo).
Lo si que he notado, es que eso solo ocurre en versiones 3.4.x y no en las versiones anteriores, asi como solamente ocurre si el project manager no fuera la propria IDE de HMG.
Ese comportamiento es bastante curioso y realmente me intriga al punto que me gustaria saber porque ocurre exactamente. Talvez alguno de nuestros "gurus" tenga alguna idea sobre el asunto.
De cualquier manera, continuare usando QPM porque realmente la diferencia de tiempo (muchisimo menos) para ejecucion del build es enorme, principalmente llevando en consideracion que tengo proyectos con varias centenas de programas e forms.

Un gran abrazo e muchas gracias,

[]´s Salamandra - Brazil

Re: About libwinpthread-1.dll

Posted: Sat Apr 25, 2020 4:19 pm
by salamandra
Hi to all,
:) Finally I found the solution for this problem just adding -static -lpthread as an additional linking parameters in Extra Link Params field of
Log Build Process tab of QPM.


Best regards,


[]´s Salamandra - Brazil

Re: About libwinpthread-1.dll

Posted: Wed Jul 01, 2020 9:56 pm
by srvet_claudio
Hi,
lpthread lib is need for HMG work with multithread.

Re: About libwinpthread-1.dll

Posted: Wed Jul 01, 2020 10:19 pm
by salamandra
Hi Dr. Claudio,
srvet_claudio wrote: Wed Jul 01, 2020 9:56 pm Hi,
lpthread lib is need for HMG work with multithread.
Thank you very much !

This is just for HMG 3.4.4 ??


Best regards,


Salamandra - Brazil

Re: About libwinpthread-1.dll

Posted: Wed Jul 01, 2020 11:44 pm
by srvet_claudio
salamandra wrote: Wed Jul 01, 2020 10:19 pm Hi Dr. Claudio,
srvet_claudio wrote: Wed Jul 01, 2020 9:56 pm Hi,
lpthread lib is need for HMG work with multithread.
Thank you very much !

This is just for HMG 3.4.4 ??


Best regards,


Salamandra - Brazil
Yes, If I remember correctly the multithreading started with 3.44

Re: About libwinpthread-1.dll

Posted: Thu Jul 02, 2020 5:13 am
by huiyi_ch
Welcome back, Claudio