|
^^; 오늘첨 코바 책보면서 심심풀이로 소스 컴파일 해보고 있거덩여..
1. 보통 책에있는 애플리케이션은 로컬 용이잖습니까..
제가 보고있는책은 CORBA3 (정보문화사)랑 Advanced corba programming with c++
인데여.. 말그대로, IP다른 원격지에서도 실행되게 할려면 소켓 추가시켜줘야
되는겁니까? 아님 IP만으로 호출하는 그런 API가 있습니까?
만약 그런부분을 추가시켜야 한다면 분산객체나 일반 소켓 프로그래밍이랑 다른게
머가 있을지..
2. 그리구, 대충짜서 원격지에서 돌릴려 하니.. 거긴 비지브로커나 BCC가 없어서..
DLL파일을 자꾸 찾거든요.. 그래서 클라이언트 build할때 관련 dll을 포함시키는
옵션 같은건 없을까요?
3. 그리구 말이져. 정보문화사책에 있는 예제를 컴파일하면 에러가 뜨거든요..
에러 메세지가 무슨 말인지는 알아도 넘 막연합니다.. 그냥 빌더에서 클라이언트, 서버
임플.. 이런식으로 책 예제 작업하면 실행 잘되는데, 책에 부록으로 있는 makefile(VC++용
CL.exe 사용) 하면 이런 에러가 뜨거든요.. 혹시 이책보면서 실행 해보신분 계세요?
SecurityQuoteServer_c.CPP
h:\Inprise\vbroker\include\viostrm.h(77) : error C2535: 'class VISistream &__thiscall VISistream::operator >>(unsigned s
hort &)' : member function already defined or declared
h:\Inprise\vbroker\include\viostrm.h(59) : see declaration of '>>'
h:\Inprise\vbroker\include\viostrm.h(96) : error C2535: 'class VISistream &__thiscall VISistream::get(unsigned short *,u
nsigned int)' : member function already defined or declared
h:\Inprise\vbroker\include\viostrm.h(92) : see declaration of 'get'
h:\Inprise\vbroker\include\viostrm.h(177) : error C2535: 'class VISostream &__thiscall VISostream::operator <<(unsigned
short)' : member function already defined or declared
h:\Inprise\vbroker\include\viostrm.h(158) : see declaration of '<<'
h:\Inprise\vbroker\include\viostrm.h(193) : error C2535: 'class VISostream &__thiscall VISostream::put(const unsigned sh
ort *,unsigned int)' : member function already defined or declared
h:\Inprise\vbroker\include\viostrm.h(189) : see declaration of 'put'
h:\Inprise\vbroker\include\mbuf.h(113) : error C2535: 'class VISistream &__thiscall CORBA_MarshalInBuffer::operator >>(u
nsigned short &)' : member function already defined or declared
h:\Inprise\vbroker\include\mbuf.h(98) : see declaration of '>>'
h:\Inprise\vbroker\include\mbuf.h(151) : error C2535: 'class VISistream &__thiscall CORBA_MarshalInBuffer::get(unsigned
short *,unsigned int)' : member function already defined or declared
h:\Inprise\vbroker\include\mbuf.h(132) : see declaration of 'get'
h:\Inprise\vbroker\include\mbuf.h(334) : error C2535: 'class VISostream &__thiscall CORBA_MarshalOutBuffer::operator <<(
unsigned short)' : member function already defined or declared
h:\Inprise\vbroker\include\mbuf.h(319) : see declaration of '<<'
h:\Inprise\vbroker\include\mbuf.h(364) : error C2535: 'class VISostream &__thiscall CORBA_MarshalOutBuffer::put(const un
signed short *,unsigned int)' : member function already defined or declared
h:\Inprise\vbroker\include\mbuf.h(349) : see declaration of 'put'
NMAKE : fatal error U1077: 'CL' : return code '0x2'
Stop.
고수님들 가르침을 부탁드리옵나이다.. ^^;
|