CStdioFile你用到了MFC里面的类,要加进来<AFXWIN.H>头文件~~~同时不用再加进来windows.h。
1.#inlude <AFXWIN.H>2.project->settings->Use MFC in a Shared DLL