logo       

? Integrate opengk_1.3.4 into MFC (I've read FAQ :): msg#00409

telephony.openh323.general

Subject: ? Integrate opengk_1.3.4 into MFC (I've read FAQ :)

Hi,

I'm trying to give a GUI to the opengk_1.3.4 using
MFC. I've referred to the simple MFC sample in the
OpenH323 folder and made changes to the code. When I
compile I get the following errors. I think it has to
do with the Project setting in VC++ and I've
transferred the Library modules under "link" to the
project space i'm working on. Still errors.

What should i do?

Thanks first :)

***********************************
--------------------Configuration: opengk - Win32
Debug--------------------
Compiling...
StdAfx.cpp
Compiling...
custom.cpp
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(224) :
error C2146: syntax error : missing ';' before
identifier 'status'
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(224) :
error C2501: 'SERVICE_STATUS' : missing storage-class
or type specifiers
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(224) :
error C2501: 'status' : missing storage-class or type
specifiers
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(225) :
error C2146: syntax error : missing ';' before
identifier 'statusHandle'
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(225) :
error C2501: 'SERVICE_STATUS_HANDLE' : missing
storage-class or type specifiers
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(225) :
error C2501: 'statusHandle' : missing storage-class or
type specifiers
c:\pwlib\include\ptclib\http.h(359) : error C2321:
syntax error : unexpected '`global
namespace'::AfxTrace'
c:\pwlib\include\ptclib\http.h(363) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(363) : error C2238:
unexpected token(s) preceding ';'
c:\pwlib\include\ptclib\http.h(431) : error C2143:
syntax error : missing ';' before 'protected'
c:\pwlib\include\ptclib\http.h(449) : error C2575:
'ParseResponse' : only member functions and bases can
be virtual
c:\pwlib\include\ptclib\http.h(450) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(450) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(450) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(953) : error C2039:
'StatusCode' : is not a member of 'PHTTP'
c:\pwlib\include\ptclib\http.h(349) : see
declaration of 'PHTTP'
opengk.cpp
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(224) :
error C2146: syntax error : missing ';' before
identifier 'status'
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(224) :
error C2501: 'SERVICE_STATUS' : missing storage-class
or type specifiers
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(224) :
error C2501: 'status' : missing storage-class or type
specifiers
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(225) :
error C2146: syntax error : missing ';' before
identifier 'statusHandle'
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(225) :
error C2501: 'SERVICE_STATUS_HANDLE' : missing
storage-class or type specifiers
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(225) :
error C2501: 'statusHandle' : missing storage-class or
type specifiers
c:\pwlib\include\ptclib\http.h(359) : error C2321:
syntax error : unexpected '`global
namespace'::AfxTrace'
c:\pwlib\include\ptclib\http.h(363) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(363) : error C2238:
unexpected token(s) preceding ';'
c:\pwlib\include\ptclib\http.h(431) : error C2143:
syntax error : missing ';' before 'protected'
c:\pwlib\include\ptclib\http.h(449) : error C2575:
'ParseResponse' : only member functions and bases can
be virtual
c:\pwlib\include\ptclib\http.h(450) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(450) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(450) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(953) : error C2039:
'StatusCode' : is not a member of 'PHTTP'
c:\pwlib\include\ptclib\http.h(349) : see
declaration of 'PHTTP'
opengkBody.cpp
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(224) :
error C2146: syntax error : missing ';' before
identifier 'status'
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(224) :
error C2501: 'SERVICE_STATUS' : missing storage-class
or type specifiers
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(224) :
error C2501: 'status' : missing storage-class or type
specifiers
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(225) :
error C2146: syntax error : missing ';' before
identifier 'statusHandle'
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(225) :
error C2501: 'SERVICE_STATUS_HANDLE' : missing
storage-class or type specifiers
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(225) :
error C2501: 'statusHandle' : missing storage-class or
type specifiers
c:\pwlib\include\ptclib\http.h(359) : error C2321:
syntax error : unexpected '`global
namespace'::AfxTrace'
c:\pwlib\include\ptclib\http.h(363) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(363) : error C2238:
unexpected token(s) preceding ';'
c:\pwlib\include\ptclib\http.h(431) : error C2143:
syntax error : missing ';' before 'protected'
c:\pwlib\include\ptclib\http.h(449) : error C2575:
'ParseResponse' : only member functions and bases can
be virtual
c:\pwlib\include\ptclib\http.h(450) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(450) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(450) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(953) : error C2039:
'StatusCode' : is not a member of 'PHTTP'
c:\pwlib\include\ptclib\http.h(349) : see
declaration of 'PHTTP'
C:\Making\opengk\opengkBody.cpp(62) : warning C4005:
'new' : macro redefinition
C:\Making\opengk\opengkBody.cpp(17) : see
previous definition of 'new'
opengkDlg.cpp
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(224) :
error C2146: syntax error : missing ';' before
identifier 'status'
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(224) :
error C2501: 'SERVICE_STATUS' : missing storage-class
or type specifiers
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(224) :
error C2501: 'status' : missing storage-class or type
specifiers
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(225) :
error C2146: syntax error : missing ';' before
identifier 'statusHandle'
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(225) :
error C2501: 'SERVICE_STATUS_HANDLE' : missing
storage-class or type specifiers
c:\pwlib\include\ptlib\msos\ptlib\svcproc.h(225) :
error C2501: 'statusHandle' : missing storage-class or
type specifiers
c:\pwlib\include\ptclib\http.h(359) : error C2321:
syntax error : unexpected '`global
namespace'::AfxTrace'
c:\pwlib\include\ptclib\http.h(363) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(363) : error C2238:
unexpected token(s) preceding ';'
c:\pwlib\include\ptclib\http.h(431) : error C2143:
syntax error : missing ';' before 'protected'
c:\pwlib\include\ptclib\http.h(449) : error C2575:
'ParseResponse' : only member functions and bases can
be virtual
c:\pwlib\include\ptclib\http.h(450) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(450) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(450) : error C2143:
syntax error : missing ';' before '}'
c:\pwlib\include\ptclib\http.h(953) : error C2039:
'StatusCode' : is not a member of 'PHTTP'
c:\pwlib\include\ptclib\http.h(349) : see
declaration of 'PHTTP'
precompile.cpp
Generating Code...
Error executing cl.exe.

opengk.exe - 60 error(s), 1 warning(s)
The following environment variables were not found
$(IPV6FLAG)



__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
------------------------------------------------------------------------
Check the FAQ before asking! - http://www.openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To unsubscribe or
change your subscription options, goto
http://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------------------



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise