(Vc6。0)我建了一个dll文件,选择的a simple dll project,这样自动生成了三个文件,Rebuild all,无错,之后Project/Add to project/Files导入了我之前调试好的程序(无错),再Rebuild all,出错:unexpected end of file while looking for precompiled header directive
PerceptronAdapt2d.cpp
。
我导入了几个文件,报了几个unexpected end of file 的错
请教高人问题在哪里???急!!!!!!
PerceptronAdapt2d.cpp
。
我导入了几个文件,报了几个unexpected end of file 的错
请教高人问题在哪里???急!!!!!!
指教:)
#ifdef xxx_EXPORTS
#define xxx_API _declspec(dllexport)
#else
#define xxx_API _declspec(dllimport)
则,你应该在Precompiled Headers 中加入 xxx_EXPORTS头.
我用你的方法初步的解决了问题,非常感谢,不过你能不
能解释一下?谢谢:)