I'm trying to call ProjectWise API from MDL like this
extern "C" DLLEXPORT int MdlMain (int argc, char *argv)
if (aaApi_Login(AAAPIDB_ODBC,L"IDCPWIS01.corp.abcglobal.com:PW_OP_DATASOURCE",L"abcglobal\\pwbatch", L"password",NULL)}
mdlDialog_dmsgsPrint ("log in Successfully!");;
but VS2008 can't compile it, saying something like "Cannot open include file: 'AADMSDEF.H': No such file or directory", even though I've already added ProjectWise SDK include path. If I use similar VBA code, no problem at all.
I searched the forum, seem no examples about calling PW API from MDL, neither in PW SDK samples.
Thanks in advance.
Wence said:"Cannot open include file: 'AADMSDEF.H': No such file or directory", even though I've already added ProjectWise SDK include path
How and where do you specify the ProjectWise SDK include path?
Regards, Jon Summers LA Solutions