From mboxrd@z Thu Jan 1 00:00:00 1970 From: "uGAH man" To: "pthread" Subject: Re: borland builder Date: Tue, 18 Jul 2000 14:27:00 -0000 Message-id: <000f01bff0fe$fb894520$4124d6c8@com.br.ugah> References: X-SW-Source: 2000/msg00043.html ----- Original Message ----- From: Chris Olivier To: 'uGAH man' Sent: Tuesday, July 18, 2000 4:57 PM Subject: RE: borland builder i did what you said, but it failed somehow i've been wondering, isnt 4.466 bytes too small for all the pthreads code? you can assume i used the correct .dll which was distributed in the pthreads-win32 project. C:\CBuilder5\Bin> impdef pthreads.def pthread.dll Borland Impdef Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation C:\CBuilder5\Bin> implib pthread.lib pthread.def Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation Error : unable to open file C:\Arquivos de programas\Borland\CBuilder5\Bin>dir.def PTHREADS DEF 4.466 18-07-00 18:24 pthreads.def > Do this. > > impdef pthreads.def pthreads.dll (or whatever name the dll is) > implib pthreads.lib pthreads.def > > Note: You could normally just use "implib pthreads.lib pthreads.dll", but > Borland > has a bug that strips the leading "_" from the last entry. This workaround > fixes this problem.