Im having several problems with the error LNK2019.
I ve a class that derives from another:
//controller.h
#include MessagesNotifie r_Client
class Controller : public MessagesNotifie r_Client
{
public:
Controller();
~Controller();
void TempVerificatio n(int a, int b);
};
//controller.cpp
Controller::Con troller(){}
Controller::~Co ntroller(){}
void TempVerificatio n(int a, int b)
{
if ( abs(a - b) 23 ){
NotifyWarningMe ssage("warning" );
}
NotifyWarningMe ssage is a method defined in MessagesNotifie r_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 MessagesNotifie r_Client in project B:
===Solution "BigTest" (2 projects)
== - A
|
------ Controller.h
------ Controller.cpp
== - B
|
------ MessagesNotifie r_Client.cpp
------ MessagesNotifie r_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 MessagesNotifie r_Client
class Controller : public MessagesNotifie r_Client
{
public:
Controller();
~Controller();
void TempVerificatio n(int a, int b);
};
//controller.cpp
Controller::Con troller(){}
Controller::~Co ntroller(){}
void TempVerificatio n(int a, int b)
{
if ( abs(a - b) 23 ){
NotifyWarningMe ssage("warning" );
}
NotifyWarningMe ssage is a method defined in MessagesNotifie r_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 MessagesNotifie r_Client in project B:
===Solution "BigTest" (2 projects)
== - A
|
------ Controller.h
------ Controller.cpp
== - B
|
------ MessagesNotifie r_Client.cpp
------ MessagesNotifie r_Client.h
Any ideas where is the problem, or how I should configure VisualStudio?
Thanks for your support.
Comment