Bonjour

J'ai un probleme de link dans mon projet c++
j'ai cherché sur le net mais aucune solution ne marche
pouvez vous m'aider

message d'erreur :
j'ai 23 erreur de type 2001 et 2019
unresolved external symbol

pouvez vous m'aider ?

merci d'avance

--------------------------------------------------------------------------
Mon fichier cpp
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
 
#include "stdafx.h"
#include <string>
#include "Global.asax.h"
 
#define WIN32_LEAN_AND_MEAN //exclu les entêtes WIN32 non frequemment utilisés - A PLACER AVANT #include <windows.h> 
#include <windows.h>
 
#include "SophisWSClass.h"
 
using namespace System;
 
namespace SophisWS
{
 
	double SophisWSClass::getSpot(int i){
 
		std::string teststring; 
 
			return 3;
		}
};
------------------------------------------------------------------------
le .h associé :
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
 
#pragma once
 
using namespace System;
using namespace System::Web;
using namespace System::Web::Services;
 
namespace SophisWS
{
	/// WARNING: If you change the name of this class, you will need to change the 
	///          'Resource File Name' property for the managed resource compiler tool 
	///          associated with all .resx files this class depends on.  Otherwise,
	///          the designers will not be able to interact properly with localized
	///          resources associated with this form.
    [System::Web::Services::WebServiceAttribute(
		Namespace="http://Walkthrough/XmlWebServices/",
		Description="web service test sophis")]
	public __gc 
        class SophisWSClass : public System::Web::Services::WebService
    {
 
    public:
		SophisWSClass(){
			InitializeComponent();
			loadApi();
		}
	protected:
		void Dispose(Boolean disposing)
		{
			if (disposing && components)
			{
				components->Dispose();
			}
			__super::Dispose(disposing);
		}
 
	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container * components;
 
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent()
		{
		}	
 
		// WEB SERVICE EXAMPLE
		// The HelloWorld() example service returns the string "Hello, World!".
		// To test this web service, ensure that the .asmx file in the deployment path is
		// set as your Debug HTTP URL, in project properties.
		// and press F5.
 
	public:
        [System::Web::Services::WebMethod] 
		double getSpot(int i);
		[System::Web::Services::WebMethod] 
		void loadApi();
        // TODO: Add the methods of your Web Service here
 
    };
}