Subj : Re: How do you link DLLs? To : borland.public.cpp.borlandcpp From : "Gisle Vanem" Date : Sat Jul 26 2003 08:25 pm "Ian Hopkins" wrote: > I have written a program which uses the pthreads win32 library. I now want > to compile a program but I don't know how to include DLLs on the command > line with bcc32. > > here is the command I run: > > bcc32 -p -Llib server_2.cpp dale.cpp md5.c md5main.c lib/pthreadGC.dll You cannot link in a .dll. You'll need to link with the .dll import library. pThreads doesn't come with Borland compiled version, but maybe you can use the Visual-C version (but doubt it): bcc32 server_2.cpp dale.cpp md5.c md5main.c -L lib/pthreadVC.lib Why do you use '-p' option? -- Gisle V. # rm /bin/laden /bin/laden: Not found .