Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello,
I am trying to call pthreads API using Microsoft visual studio VC98..
I have copied the pthread.h file in c:/program files/Microsoft visual studio/VC98/Include and pthreadGC2.dll,pthreadGCE2.dll,pthreadVC2.dll,pthreadVC2(LIB),pthreadVSE2.dll,pthreadVSE2(LIB) files in the c:/program files/Microsoft visual studio/VC98/LIB directory.. kindly let me know if i need to do anything more to run my program
thnx.

=========================================================================
It is difficult to say but I do know that often the answer to a question is within the information that you already know. i.e. what success or failure are you having at this juncture? Have you had any results or just an inabuility to establish/create the connection to the desired thread? You have the correct .DLL files but for linking purposes you may need the object files associated with them...do you have access to these or do you get any messages that might indicate this? What other (if any) messages do you receive? etc., etc., etc....
John W. Borelli
IT Specialist
Hawkeye Security
borelli35

Hi Borelli,
I am getting link error.. plz find the same below
I have Assign.c file and it compiles file but when linking i get the following error.
Plz note that i compile and link through the options "Rebuild All".
Linking...
Assign.obj : error LNK2001: unresolved external symbol __imp__pthread_join
Assign.obj : error LNK2001: unresolved external symbol __imp__pthread_create
Assign.obj : error LNK2001: unresolved external symbol __imp__pthread_attr_init
Assign.obj : error LNK2001: unresolved external symbol __imp__pthread_exit
Debug/Assign.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.Thnx,
Neeraja

===============================================================
Post the main module if you can. It looks like you have declared these data types or dereferenced them when it wasn't necessary but honestly I couldn't say for sure without looking at the code.John W. Borelli
IT Specialist
Hawkeye Security
borelli35

![]() |
i would like to make remo...
|
search with sql vb6
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |