I have two Visual C++ projects (in Visual studio 2008), one of them has an user interface which is developed with qt 4.6.2 (and the project is in 32 bit configuration) and the other one is a console application (with 64 bit configuration) both are in same solution.
So I need to use some classes of console application in the other one.
Let's say console app has one class like that:
class a
{
public:
void read();
void write();
}
so I'm adding this project's folder to additional dependencies of the other project which needs to use class a, and trying to use it like:
#include "a.h"
a myClass;
myClass.write();
when I compile the solution it gives Error LNK2019: Unresolved External Symbol
.
So am I doing something wrong or is it because of different configuration of the projects?
Thanks.