I did.
For dal.obj, there are many _mysql_* symbols symbols unresolved. I added the mysql library path to the project, as well as copying the libmysql.dll to the ps directory.
In libpsrpgrules.lib, a pslog::LogMessage(...) is undefined.
Any idea where these symbols are defined that I may not have included?
The link errors I get are as follows(This is in 2005, as I have many more problems in 2010):
Error 1 error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: virtual __thiscall psMysqlConnection::~psMysqlConnection(void)" (??1psMysqlConnection@@UAE@XZ) dal.obj
Error 2 error LNK2019: unresolved external symbol _mysql_options@12 referenced in function "public: virtual bool __thiscall psMysqlConnection::Initialize(char const *,unsigned int,char const *,char const *,char const *,class LogCSV *)" (?Initialize@psMysqlConnection@@UAE_NPBDI000PAVLogCSV@@@Z) dal.obj
Error 3 error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function "public: virtual bool __thiscall psMysqlConnection::Initialize(char const *,unsigned int,char const *,char const *,char const *,class LogCSV *)" (?Initialize@psMysqlConnection@@UAE_NPBDI000PAVLogCSV@@@Z) dal.obj
Error 4 error LNK2019: unresolved external symbol _mysql_init@4 referenced in function "public: virtual bool __thiscall psMysqlConnection::Initialize(char const *,unsigned int,char const *,char const *,char const *,class LogCSV *)" (?Initialize@psMysqlConnection@@UAE_NPBDI000PAVLogCSV@@@Z) dal.obj
Error 5 error LNK2019: unresolved external symbol _mysql_thread_init@0 referenced in function "public: virtual bool __thiscall psMysqlConnection::Initialize(char const *,unsigned int,char const *,char const *,char const *,class LogCSV *)" (?Initialize@psMysqlConnection@@UAE_NPBDI000PAVLogCSV@@@Z) dal.obj
Error 6 error LNK2019: unresolved external symbol _mysql_server_init@12 referenced in function "public: virtual bool __thiscall psMysqlConnection::Initialize(char const *,unsigned int,char const *,char const *,char const *,class LogCSV *)" (?Initialize@psMysqlConnection@@UAE_NPBDI000PAVLogCSV@@@Z) dal.obj
Error 7 error LNK2019: unresolved external symbol _mysql_server_end@0 referenced in function "public: virtual bool __thiscall psMysqlConnection::Close(void)" (?Close@psMysqlConnection@@UAE_NXZ) dal.obj
Error 8 error LNK2019: unresolved external symbol _mysql_error@4 referenced in function "public: virtual char const * __thiscall psMysqlConnection::GetLastError(void)" (?GetLastError@psMysqlConnection@@UAEPBDXZ) dal.obj
Error 9 error LNK2019: unresolved external symbol _mysql_escape_string@12 referenced in function "public: virtual void __thiscall psMysqlConnection::Escape(class csString &,char const *)" (?Escape@psMysqlConnection@@UAEXAAVcsString@@PBD@Z) dal.obj
Error 10 error LNK2019: unresolved external symbol _mysql_affected_rows@4 referenced in function "public: virtual unsigned long __cdecl psMysqlConnection::CommandPump(char const *,...)" (?CommandPump@psMysqlConnection@@UAAKPBDZZ) dal.obj
Error 11 error LNK2019: unresolved external symbol _mysql_query@8 referenced in function "public: virtual unsigned long __cdecl psMysqlConnection::CommandPump(char const *,...)" (?CommandPump@psMysqlConnection@@UAAKPBDZZ) dal.obj
Error 12 error LNK2019: unresolved external symbol _mysql_insert_id@4 referenced in function "public: virtual unsigned __int64 __thiscall psMysqlConnection::GetLastInsertID(void)" (?GetLastInsertID@psMysqlConnection@@UAE_KXZ) dal.obj
Error 13 error LNK2019: unresolved external symbol _mysql_stmt_init@4 referenced in function "public: __thiscall dbRecord::dbRecord(struct st_mysql *,char const *,char const *,unsigned int,class LogCSV *,char const *,unsigned int)" (??0dbRecord@@QAE@PAUst_mysql@@PBD1IPAVLogCSV@@1I@Z) dal.obj
Error 14 error LNK2019: unresolved external symbol _mysql_stmt_close@4 referenced in function "public: virtual __thiscall dbRecord::~dbRecord(void)" (??1dbRecord@@UAE@XZ) dal.obj
Error 15 error LNK2019: unresolved external symbol _mysql_num_fields@4 referenced in function "public: __thiscall psResultSet::psResultSet(struct st_mysql *)" (??0psResultSet@@QAE@PAUst_mysql@@@Z) dal.obj
Error 16 error LNK2019: unresolved external symbol _mysql_num_rows@4 referenced in function "public: __thiscall psResultSet::psResultSet(struct st_mysql *)" (??0psResultSet@@QAE@PAUst_mysql@@@Z) dal.obj
Error 17 error LNK2019: unresolved external symbol _mysql_store_result@4 referenced in function "public: __thiscall psResultSet::psResultSet(struct st_mysql *)" (??0psResultSet@@QAE@PAUst_mysql@@@Z) dal.obj
Error 18 error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "public: virtual __thiscall psResultSet::~psResultSet(void)" (??1psResultSet@@UAE@XZ) dal.obj
Error 19 error LNK2019: unresolved external symbol _mysql_fetch_row@4 referenced in function "public: virtual int __thiscall psResultRow::Fetch(int)" (?Fetch@psResultRow@@UAEHH@Z) dal.obj
Error 20 error LNK2019: unresolved external symbol _mysql_data_seek@12 referenced in function "public: virtual int __thiscall psResultRow::Fetch(int)" (?Fetch@psResultRow@@UAEHH@Z) dal.obj
Error 21 error LNK2019: unresolved external symbol _mysql_field_seek@8 referenced in function "public: virtual char const * __thiscall psResultRow::operator[](char const *)" (??ApsResultRow@@UAEPBDPBD@Z) dal.obj
Error 22 error LNK2019: unresolved external symbol _mysql_fetch_field@4 referenced in function "public: virtual char const * __thiscall psResultRow::operator[](char const *)" (??ApsResultRow@@UAEPBDPBD@Z) dal.obj
Error 23 error LNK2019: unresolved external symbol _mysql_stmt_execute@4 referenced in function "public: virtual bool __thiscall dbRecord::Execute(unsigned int)" (?Execute@dbRecord@@UAE_NI@Z) dal.obj
Error 24 error LNK2019: unresolved external symbol _mysql_stmt_bind_param@8 referenced in function "public: virtual bool __thiscall dbRecord::Execute(unsigned int)" (?Execute@dbRecord@@UAE_NI@Z) dal.obj
Error 25 error LNK2019: unresolved external symbol _mysql_stmt_param_count@4 referenced in function "public: virtual bool __thiscall dbRecord::Execute(unsigned int)" (?Execute@dbRecord@@UAE_NI@Z) dal.obj
Error 26 error LNK2019: unresolved external symbol _mysql_stmt_prepare@12 referenced in function "public: virtual bool __thiscall dbInsert::Prepare(void)" (?Prepare@dbInsert@@UAE_NXZ) dal.obj
Error 27 fatal error LNK1120: 26 unresolved externals ..\..\dbmysql.dll
Error 28 error LNK2019: unresolved external symbol "void __cdecl pslog::LogMessage(char const *,int,char const *,int,enum LOG_TYPES,unsigned int,char const *,...)" (?LogMessage@pslog@@YAXPBDH0HW4LOG_TYPES@@I0ZZ) referenced in function "public: class psMoney __thiscall psMoney::operator-(class psMoney const &)const " (??GpsMoney@@QBE?AV0@ABV0@@Z) libpsrpgrules_d.lib
Error 29 fatal error LNK1120: 1 unresolved externals ..\..\testrpgrules.exe