这是我的代码
#ifndef FL_PROJECTMNT
#include <afxdao.h>
#if ENGLISH
#define PROJECT "Project" // Project
#define NUMBER "No"
#define PRJNAME "Project Name"
#else
#define PROJECT "プロジェクト"
#define NUMBER "No"
#define PRJNAME "プロジェクト名"
#endif
#ifdef ENGLISH
#define RESBAMELIST NUMBER,PRJNAME,CNTNAME,TANTOU,PREV,SREV,LASTCTIME,NOTE,DOCNO,PLANTNAME,BUNSATU,MEMTYP,CMPCNT,PLASTCTIME,LINENOCNT,SVCHANGCNT
#else
#define RESBAMELIST NUMBER,PRJNAME,CNTNAME,TANTOU,PREV,SREV,LASTCTIME,NOTE,DOCNO,PLANTNAME,BUNSATU,MEMTYP,CMPCNT,PLASTCTIME,LINENOCNT,SVCHANGCNT,USECADINF
#endif
class AFX_EXT_CLASS ProjectMnt{
private:
CDaoDatabase Project;
CDaoRecordset *rec;
int state;
public:
ProjectMnt();
ProjectMnt(char* strPath);
~ProjectMnt();
int RenewLRDate();
int RenewPLRDate();
int GetProjectInfo(int kind,int size,char *data);
int GetProjectInfo(int kind,long int *data);
int SetProjectInfo(int kind,char* data);
int SetProjectInfo(int kind,long int data);
int GetState(){return state;};
};
#define FL_PROJECTMNT
#endif
当我在 Visual Studio 2008 上编译时,它会发出此警告,但我无法忍受,有人帮我吗? 警告 C4995:“CDaoDatabase”:名称被标记为 #pragma deprecated