bonjour,
j'utilise visual c++ 6.0, mon programme execute en mode threading le traitement1 et le traitement2 sous cette forme:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
#include <winsock2.h>
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <string.h>
 
void thread1();
int main()
{
.......
CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)thread1,NULL,NULL,NULL);
	for(;;)
	{
	   CommandesTraitement2;	
	}            
}
void thread1(int x)
{
 
	for(;;)
	{
                CommandesTraitement1;
             }
}
je reçois cette erreur
appli1.obj : error LNK2001: unresolved external symbol "void __cdecl thread1(void)" (?thread1client@@YAXXZ)
Debug/appli.exe : fatal error LNK1120: 1 unresolved externals.

je me demande ce que j'ai manqué ici?de l'aide SVP.