I am using VisualStudio .NET and can get my project to build fine. But when I try to run it, I get an error like this:

procedure entry point XXXXX could not be located in the dynamic link library YYYYY

I am getting these 2 errors based on the order I list the libraries under the properties portion for my project in VS.NET and they are:

XXXXX = ...QAbstractTableModel@...
YYYYY = QtCored4.dll

and

XXXXX = ...QPushButton@...
YYYYY = QtGuid4.dll

Has anyone else seen this error and know how to fix it, because it confuses me a lot. I have tried to list these 2 libraries last and first, but no matter the orientation, whichever is listed first of the two, it's respective error I get to see. Thanks!