다음을 통해 공유

visual c++로 그냥 콘솔프로그램을 만드려고 하는데 MFC에서 제공하는 api나 라이브러리를 사용할수 있나요?

익명
2015-09-18T10:05:29+00:00

안녕하세요.. 현재 MFC에서 잘 돌아 가는 프로그램이 잇는데요...

실행해서 창뜨고 버튼하나하나 클릭하는것을 콘솔프로그램으로 진행현황을 cout으로 표현하게끔 해서

콘솔로 만드려고 하거든요...그러니깐 클릭대신 마우스키보드로 콘솔에 입력을 하게끔 하려구요..

win32 console 프로그램으로 프로젝트 생성하고 기존에 mfc에서 돌아가던 프로그램에 통신관련 파일 h 파일과 dll 파일을 프로젝트로 복사해서 솔루션 탐색기에서 include in project 하였는데요..

실행하니 해당 object가 선언이 안되어 있다고 나오네요...

메시지는 아래와 같구요.. 해당 인자가 어디에 있는지 확인해보니

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include

에 있더라구요..

그래서 혹여나 프로젝트 속성을 확인해보니

$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;

라고

;$(WindowsSdkDir)include가 include dir에 들어있는데 왜 계속 참조가 안된다는건지 알고 싶습니다.

답변 부탁드립니다.

>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(32): error C3861: 'ZeroMemory': identifier not found

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(60): error C3861: 'ZeroMemory': identifier not found

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(76): error C3861: 'ZeroMemory': identifier not found

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(90): error C2146: syntax error : missing ';' before identifier 'GetSafeHandle'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(90): error C2433: 'comAPI::HMODULE' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(90): warning C4183: 'GetSafeHandle': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(94): error C2146: syntax error : missing ';' before identifier 'Init'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(94): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(94): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(94): error C2061: syntax error : identifier 'LPCTSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(94): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(94): warning C4183: 'Init': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(95): error C2146: syntax error : missing ';' before identifier 'IsInit'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(95): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(95): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(95): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(95): warning C4183: 'IsInit': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(99): error C2146: syntax error : missing ';' before identifier 'Connect'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(99): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(99): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(99): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(99): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(99): warning C4183: 'Connect': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(100): error C2146: syntax error : missing ';' before identifier 'IsConnected'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(100): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(100): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(100): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(100): warning C4183: 'IsConnected': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(101): error C2146: syntax error : missing ';' before identifier 'Disconnect'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(101): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(101): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(101): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(101): warning C4183: 'Disconnect': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(104): error C2146: syntax error : missing ';' before identifier 'Login'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(104): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(104): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(104): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(104): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(104): warning C4183: 'Login': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(105): error C2146: syntax error : missing ';' before identifier 'Logout'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(105): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(105): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(105): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(105): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(105): warning C4183: 'Logout': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(108): error C2146: syntax error : missing ';' before identifier 'GetErrorMessage'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(108): error C2433: 'comAPI::CString' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(108): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(108): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(108): warning C4183: 'GetErrorMessage': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(111): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(112): error C2146: syntax error : missing ';' before identifier 'ReleaseRequestData'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(112): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(112): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(112): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(112): warning C4183: 'ReleaseRequestData': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(113): error C2146: syntax error : missing ';' before identifier 'ReleaseMessageData'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(113): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(113): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(113): error C2061: syntax error : identifier 'LPARAM'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(113): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(113): warning C4183: 'ReleaseMessageData': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(116): error C2146: syntax error : missing ';' before identifier 'AdviseRealData'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(116): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(116): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(116): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(116): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(116): warning C4183: 'AdviseRealData': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(117): error C2146: syntax error : missing ';' before identifier 'UnadviseRealData'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(117): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(117): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(117): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(117): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(117): warning C4183: 'UnadviseRealData': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(118): error C2146: syntax error : missing ';' before identifier 'UnadviseWindow'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(118): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(118): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(118): warning C4183: 'UnadviseWindow': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(122): error C2146: syntax error : missing ';' before identifier 'GetAccountList'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(122): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(122): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(122): error C2061: syntax error : identifier 'LPSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(122): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(122): warning C4183: 'GetAccountList': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(125): error C2146: syntax error : missing ';' before identifier 'GetCommMedia'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(125): error C2433: 'comAPI::CString' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(125): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(125): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(125): warning C4183: 'GetCommMedia': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(126): error C2146: syntax error : missing ';' before identifier 'GetETKMedia'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(126): error C2433: 'comAPI::CString' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(126): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(126): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(126): warning C4183: 'GetETKMedia': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(127): error C2146: syntax error : missing ';' before identifier 'GetClientIP'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(127): error C2433: 'comAPI::CString' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(127): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(127): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(127): warning C4183: 'GetClientIP': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(128): error C2146: syntax error : missing ';' before identifier 'GetServerName'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(128): error C2433: 'comAPI::CString' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(128): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(128): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(128): warning C4183: 'GetServerName': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(130): error C2061: syntax error : identifier 'LPCTSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(132): error C2146: syntax error : missing ';' before identifier 'GetProcBranchNo'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(132): error C2433: 'comAPI::CString' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(132): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(132): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(132): warning C4183: 'GetProcBranchNo': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(133): error C2146: syntax error : missing ';' before identifier 'GetUseOverFuture'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(133): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(133): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(133): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(133): warning C4183: 'GetUseOverFuture': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(134): error C2146: syntax error : missing ';' before identifier 'GetUseFX'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(134): error C2433: 'comAPI::BOOL' : 'inline' not permitted on data declarations

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(134): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(134): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(134): warning C4183: 'GetUseFX': missing return type; assumed to be a member function returning 'int'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(136): error C2061: syntax error : identifier 'LPCTSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(138): error C2061: syntax error : identifier 'BOOL'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(152): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(155): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(198): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(209): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(210): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(257): error C2061: syntax error : identifier 'LPCTSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(262): error C2061: syntax error : identifier 'LPCTSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(265): error C2146: syntax error : missing ';' before identifier 'm_hModule'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(265): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(265): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(267): error C2059: syntax error : '__stdcall'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(267): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(267): error C2091: function returns function

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(267): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(268): error C2091: function returns function

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(268): warning C4440: calling convention redefinition from '__cdecl ' to '__stdcall ' ignored

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(269): error C2091: function returns function

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(269): warning C4440: calling convention redefinition from '__cdecl ' to '__stdcall ' ignored

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(270): error C2059: syntax error : '<L_TYPE_raw>'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(270): error C2238: unexpected token(s) preceding ';'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(271): error C2059: syntax error : '<L_TYPE_raw>'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(271): error C2238: unexpected token(s) preceding ';'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(273): error C2061: syntax error : identifier 'LPSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(275): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(277): error C2061: syntax error : identifier 'LPARAM'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(279): error C2059: syntax error : '<L_TYPE_raw>'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(279): error C2238: unexpected token(s) preceding ';'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(280): error C2059: syntax error : '<L_TYPE_raw>'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(280): error C2238: unexpected token(s) preceding ';'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(281): error C2059: syntax error : '<L_TYPE_raw>'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(281): error C2238: unexpected token(s) preceding ';'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(284): error C2059: syntax error : '<L_TYPE_raw>'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(284): error C2238: unexpected token(s) preceding ';'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(285): error C2061: syntax error : identifier 'LPTSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(286): error C2061: syntax error : identifier 'LPTSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(287): error C2061: syntax error : identifier 'LPTSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(288): error C2061: syntax error : identifier 'LPTSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(289): error C2061: syntax error : identifier 'LPCTSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(291): error C2061: syntax error : identifier 'LPTSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(292): error C2091: function returns function

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(292): warning C4440: calling convention redefinition from '__cdecl ' to '__stdcall ' ignored

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(293): error C2091: function returns function

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(293): warning C4440: calling convention redefinition from '__cdecl ' to '__stdcall ' ignored

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(295): error C2061: syntax error : identifier 'LPCTSTR'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(299): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(300): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(302): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(303): error C2061: syntax error : identifier 'HWND'

1>c:\users\kim\documents\visual studio 2010\projects\test3\test3\comAPI.h(303): fatal error C1003: error count exceeds 100; stopping compilation

가정용 Windows | 이전 Windows 버전 | 앱

잠긴 질문. 이 질문은 Microsoft 지원 커뮤니티에서 마이그레이션되었습니다. 질문이 도움이 되었는지 여부에 대해 응답할 수는 있지만, 메모나 회신을 추가하거나 질문을 따를 수는 없습니다.

댓글 0개 설명 없음

답변 1개

정렬 기준: 가장 유용함
  1. 익명
    2015-12-04T08:02:30+00:00

    안녕하세요 grape111 님

    답변이 늦은 점 양해의 말씀을 드립니다. 

    저희 Microsoft Community 에서는 Client 제품의 사용 방법에 대하여 도움을 드리고 있습니다. 

    문의하신 사항은 저희 Microsoft 커뮤니티의 지원 범위를 벗어나는 것으로 보입니다. 개발 관련 문의가 있으신 경우 번거로우시더라도 MSDN 포럼을 참조하시기 바랍니다.

    Microsoft MSDN 포럼

    http://social.msdn.microsoft.com/Forums/ko-kr/categories/

    감사합니다.

    이 대답이 도움이 되었나요?

    댓글 0개 설명 없음