|
TCientSocket* sockOmif;
common.h 라는 파일에 위와 같은 식으로 한줄 넣어봤습니다.
그런데 syntax 에러가 나더군요.. 전역변수로 놓고 싶었는데요..
#include <ScktComp.hpp>
그래서 이런 헤더파일을 넣어봤는데 그래도 결과는 똑같았습니다.
int iii; <-- 이거는 되는걸로 봐서 저 클래스를 인식하지 못하는거 같은데..
혹시 아시는 분 알려주세요..
밑에는 소스 전부입니다.
//---------------------------------------------------------------------------
#ifndef commonH
#define commonH
//---------------------------------------------------------------------------
#include <ScktComp.hpp>
#include "MessageFormat.h"
#include <vector>
#include <string>
using namespace std;
//---------------------------------------------------------------------------
TCientSocket* sockOmif;
#endif
|