Thanks alot deepdiver! Why '#include "client.h" ' twice though? Afaics the second one can be commented out..
Some link errors were due to missing windows default includes (and quickly fixed), but others were due to missing slice2cpp generated .cpp and .h files :/
So I added them but now I get 10 errors about "definition of dllimport static data member not allowed" and loads of "inconsistent dll linkage" warnings.
e.g.:
fyi, the libs I link to are: iced.lib iceutild.lib mysqlclient.lib libmysql.lib wsock32.lib msvcprtd.lib msvcrtd.lib libcpmtd.lib libcmtd.lib
Of which the first two I've also compiled myself (2.1.1) but the errors stay the same when I use those..
Any help would be greatly appreciated 'cause those errors make little sense to me even after google, msdn and ice docs skim...
Thanks,
Alex