OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: problem with comsvcs.h file please help

From: Jianwei Sun (jsunDDTI.NET)
Date: Wed Feb 11 2004 - 07:33:35 CST


Did you send the program to me ..??

-----Original Message-----
From: Distributed COM-Based Code [mailto:DCOMDISCUSS.MICROSOFT.COM] On
Behalf Of Katiyar, Subodh (Path)
Sent: Tuesday, February 10, 2004 8:30 AM
To: DCOMDISCUSS.MICROSOFT.COM
Subject: Re: problem with comsvcs.h file please help

ok i will do just that.

-----Original Message-----
From: Jianwei Sun [mailto:jsunDDTI.NET]
Sent: Tuesday, February 10, 2004 6:50 Shaam
To: DCOMDISCUSS.MICROSOFT.COM
Subject: Re: problem with comsvcs.h file please help

Of course, I have compiled quite a few projects including comsvcs.h, I have
to use this in every my complus project, send me an email With zipped
project file which gives you error and I try to see how I can be of help..

J.W.

-----Original Message-----
From: Distributed COM-Based Code [mailto:DCOMDISCUSS.MICROSOFT.COM] On
Behalf Of Katiyar, Subodh (Path)
Sent: Tuesday, February 10, 2004 2:40 AM
To: DCOMDISCUSS.MICROSOFT.COM
Subject: Re: problem with comsvcs.h file please help

may be you can help me
this way can you compile a stl com project with include comsvcs.h it doesn't
compile on my system - i have not including mfc settings.
and i am using mts .

-----Original Message-----
From: Jianwei Sun [mailto:jsunDDTI.NET]
Sent: Tuesday, February 10, 2004 1:57 Subah
To: DCOMDISCUSS.MICROSOFT.COM
Subject: Re: problem with comsvcs.h file please help

It seems to me that the including path is not in the right order ??
GoTo : Toos->Options ->include, what's the order there???

My comsvcs.h is under C:\Program Files\Microsoft SDK\include...

J.W.

-----Original Message-----
From: Distributed COM-Based Code [mailto:DCOMDISCUSS.MICROSOFT.COM] On
Behalf Of Katiyar, Subodh (Path)
Sent: Monday, February 09, 2004 1:32 AM
To: DCOMDISCUSS.MICROSOFT.COM
Subject: problem with comsvcs.h file please help

hi
i am making a inproc server dll which will be hosted in mts i am using atl
for coding the same ,recently i had the requirement for including shared
property manager in the same ,for updating and storing a property value in
the shared property, but the trouble is as soon as i include the file
comsvcs,h and try to compile it gives following errors.

c:\program files\microsoft visual studio\vc98\include\comsvcs.h(9940) :
error C2146: syntax error : missing ';' before identifier 'RESTYPID'
c:\program files\microsoft visual studio\vc98\include\comsvcs.h(9940) :
fatal error C1004: unexpected end of file found Error executing cl.exe.

i can't understand why this is coming for the first line it appears is like
this with some lines preceeding and some following .

#ifndef DECLSPEC_UUID
#if (_MSC_VER >= 1100) && defined (__cplusplus)
#define DECLSPEC_UUID(x) __declspec(uuid(x))
#else
#define DECLSPEC_UUID(x)
#endif
#endif

typedef DWORD_PTR RESTYPID; // error no one comes here........

typedef DWORD_PTR RESID;

typedef LPOLESTR SRESID;

typedef LPCOLESTR constSRESID;

typedef DWORD RESOURCERATING;

everything looks ok to me though.
is it something related to the size of the file ?
how to resolve this ,any lead will be highly appreciated...

DISCLAIMER:
The information contained in this Message is confidential and intended only
for the use of the individual or entity identified. If the reader of this
message is not the intended recipient, any dissemination, distribution or
copying of the information contained in this message is strictly prohibited.
If you received this message in error, please notify the sender immediately.

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

DISCLAIMER:
The information contained in this Message is confidential and intended only
for the use of the individual or entity identified. If the reader of this
message is not the intended recipient, any dissemination, distribution or
copying of the information contained in this message is strictly prohibited.
If you received this message in error, please notify the sender immediately.

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

DISCLAIMER:
The information contained in this Message is confidential and intended only
for the use of the individual or entity identified. If the reader of this
message is not the intended recipient, any dissemination, distribution or
copying of the information contained in this message is strictly prohibited.
If you received this message in error, please notify the sender immediately.

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM