Hi All,
Can any one tell me how to resolve the following issue;
I have the following function
hello.cpp
#include "stdafx.h"
#include <stdlib.h>
#include <vcclr.h>
#include <string>
namespace Wrapper
{
String^ Wrapper_Class:: sayHello(void){
String^ str="Hello";
return str;
}
}
hello.h
#pragma once
#include "string"
#include <stdio.h>
#include <stdlib.h>
#include "stdafx.h"
using namespace System::Runtime ::InteropServic es;
using namespace System;
using namespace std;
String^ Wrapper_Class:: sayHello(void)
Here is the ERROR message I keep getting
error LNK2020: unresolved token (06000012) Wrapper.SinFold _Wrapper_Class: :sayHello
Can any one tell me what am I doing wrong? or how to resolve it?
Thank you...
JZ
Can any one tell me how to resolve the following issue;
I have the following function
hello.cpp
#include "stdafx.h"
#include <stdlib.h>
#include <vcclr.h>
#include <string>
namespace Wrapper
{
String^ Wrapper_Class:: sayHello(void){
String^ str="Hello";
return str;
}
}
hello.h
#pragma once
#include "string"
#include <stdio.h>
#include <stdlib.h>
#include "stdafx.h"
using namespace System::Runtime ::InteropServic es;
using namespace System;
using namespace std;
String^ Wrapper_Class:: sayHello(void)
Here is the ERROR message I keep getting
error LNK2020: unresolved token (06000012) Wrapper.SinFold _Wrapper_Class: :sayHello
Can any one tell me what am I doing wrong? or how to resolve it?
Thank you...
JZ
Comment