About libwinpthread-1.dll

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
salamandra
Posts: 311
Joined: Thu Jul 31, 2008 8:33 pm
DBs Used: DBF, MySQL, SQL
Location: Brazil

About libwinpthread-1.dll

Post 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
There is one time in which is crucial awakening. That time is now. ( Buddha )
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: About libwinpthread-1.dll

Post 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 2214 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
salamandra
Posts: 311
Joined: Thu Jul 31, 2008 8:33 pm
DBs Used: DBF, MySQL, SQL
Location: Brazil

Re: About libwinpthread-1.dll

Post 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
There is one time in which is crucial awakening. That time is now. ( Buddha )
User avatar
salamandra
Posts: 311
Joined: Thu Jul 31, 2008 8:33 pm
DBs Used: DBF, MySQL, SQL
Location: Brazil

Re: About libwinpthread-1.dll

Post 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
There is one time in which is crucial awakening. That time is now. ( Buddha )
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: About libwinpthread-1.dll

Post by srvet_claudio »

Hi,
lpthread lib is need for HMG work with multithread.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
salamandra
Posts: 311
Joined: Thu Jul 31, 2008 8:33 pm
DBs Used: DBF, MySQL, SQL
Location: Brazil

Re: About libwinpthread-1.dll

Post 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
There is one time in which is crucial awakening. That time is now. ( Buddha )
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: About libwinpthread-1.dll

Post 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
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
huiyi_ch
Posts: 172
Joined: Sat May 21, 2016 5:27 am

Re: About libwinpthread-1.dll

Post by huiyi_ch »

Welcome back, Claudio
Post Reply