我在声明中这样写的
class CDLLDloadApp : public CWinApp
{public:
CDLLDloadApp();
         CAppConfig m_AppConfig;
CProject   m_Project; 
FUNC_PROTOTYPE CAppConfig &getAppConfig();
FUNC_PROTOTYPE CProject   &getProject();
而实现过程是这样写的
#define FUNC_PROTOTYPE extern "C" _declspec(dllexport)
#include "stdafx.h"
#include "DLLDload.h"
#include "utility/cipher.h"
#include "utility/des.inl"
#include "dom/project.h"
#include "dom/workshop.h"
#include "dom/recipe_list.h"
#include "dom/recipe.h"
#include "dom/appcfg.h"
       CAppConfig &getAppConfig()
{
return m_AppConfig;
}
CProject &getProject()
{
return m_Project;
} bool IsDownLoad(long recipeno,CString recipename)
{

编译时出现这样错误
LLDload.cpp
e:\program_flies\recipe program\dlldload\dlldload.h(41) : error C2146: syntax error : missing ';' before identifier 'CAppConfig'
e:\program_flies\recipe program\dlldload\dlldload.h(41) : error C2501: 'FUNC_PROTOTYPE' : missing storage-class or type specifiers
e:\program_flies\recipe program\dlldload\dlldload.h(42) : error C2146: syntax error : missing ';' before identifier 'CProject'
e:\program_flies\recipe program\dlldload\dlldload.h(42) : error C2501: 'FUNC_PROTOTYPE' : missing storage-class or type specifiers
e:\program_flies\recipe program\dlldload\dlldload.h(44) : error C2146: syntax error : missing ';' before identifier 'bool'
e:\program_flies\recipe program\dlldload\dlldload.h(44) : error C2501: 'FUNC_PROTOTYPE' : missing storage-class or type specifiers
E:\Program_Flies\Recipe Program\DLLDload\DLLDload.cpp(96) : error C2065: 'm_AppConfig' : undeclared identifier
E:\Program_Flies\Recipe Program\DLLDload\DLLDload.cpp(100) : error C2065: 'm_Project' : undeclared identifier
project.cpp
e:\program_flies\recipe program\dlldload\dlldload.h(41) : error C2146: syntax error : missing ';' before identifier 'CAppConfig'
e:\program_flies\recipe program\dlldload\dlldload.h(41) : error C2501: 'FUNC_PROTOTYPE' : missing storage-class or type specifiers
e:\program_flies\recipe program\dlldload\dlldload.h(42) : error C2146: syntax error : missing ';' before identifier 'CProject'
e:\program_flies\recipe program\dlldload\dlldload.h(42) : error C2501: 'FUNC_PROTOTYPE' : missing storage-class or type specifiers
e:\program_flies\recipe program\dlldload\dlldload.h(44) : error C2146: syntax error : missing ';' before identifier 'bool'
e:\program_flies\recipe program\dlldload\dlldload.h(44) : error C2501: 'FUNC_PROTOTYPE' : missing storage-class or type specifiers
Generating Code...
执行 cl.exe 时出错.
请问是怎么回事,那块有问题