这是个 静态MFC DLL文件,要读取当前目录下INI文件;#include "stdafx.h"
#include "kdll.h"
#include <iostream.h>
#include <windows.h>#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endifCKdllApp theApp;char pro[16];::GetPrivateProfileString("Kill","process",NULL, pro,sizeof(pro),"\\config.ini");
错误提示:
error C2501: 'GetPrivateProfileStringA' : missing storage-class or type specifiers
unable to recover from previous error(s); stopping compilation