E
en.navarro
Im having several problems with the error LNK2019.
I ve a class that derives from another:
//controller.h
#include MessagesNotifier_Client
class Controller : public MessagesNotifier_Client
{
public:
Controller();
~Controller();
void TempVerification(int a, int b);
};
//controller.cpp
Controller::Controller(){}
Controller::~Controller(){}
void Controller::TempVerification(int a, int b)
{
if ( abs(a - b) > 23 ){
NotifyWarningMessage("warning"); //ERROR LNK2019
}
NotifyWarningMessage is a method defined in MessagesNotifier_Client.
Im using Visual Studio .net 2003. and I have a Solution with 2
projects. The controller class is in
the project A, and the MessagesNotifier_Client in project B:
===Solution "BigTest" (2 projects)
== - A
|
------ Controller.h
------ Controller.cpp
== - B
|
------ MessagesNotifier_Client.cpp
------ MessagesNotifier_Client.h
Any ideas where is the problem, or how I should configure VisualStudio?
Thanks for your support.
I ve a class that derives from another:
//controller.h
#include MessagesNotifier_Client
class Controller : public MessagesNotifier_Client
{
public:
Controller();
~Controller();
void TempVerification(int a, int b);
};
//controller.cpp
Controller::Controller(){}
Controller::~Controller(){}
void Controller::TempVerification(int a, int b)
{
if ( abs(a - b) > 23 ){
NotifyWarningMessage("warning"); //ERROR LNK2019
}
NotifyWarningMessage is a method defined in MessagesNotifier_Client.
Im using Visual Studio .net 2003. and I have a Solution with 2
projects. The controller class is in
the project A, and the MessagesNotifier_Client in project B:
===Solution "BigTest" (2 projects)
== - A
|
------ Controller.h
------ Controller.cpp
== - B
|
------ MessagesNotifier_Client.cpp
------ MessagesNotifier_Client.h
Any ideas where is the problem, or how I should configure VisualStudio?
Thanks for your support.