469,645 Members | 1,635 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

Compile Error using C++ VS6.0 using Notes API

Hi all you C++ guru's!

I'm 'very, very' new to C++ and I'm having a little trouble configuring
my VS environment I think - when I try and compile some sample code I'm
getting the following errors, any help would be 'greatly' appreciated!
:) Thanks heaps!

--------------------Configuration: CppRichTextItem - Win32
Debug--------------------
Compiling...
CppRichTextItem.cpp
c:\program files\microsoft visual studio\vc98\include\mq.h(139) : error
C2146: syntax error : missing ';' before identifier 'prop'
c:\program files\microsoft visual studio\vc98\include\mq.h(139) : error
C2501: 'PROPID' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\mq.h(139) : error
C2501: 'prop' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\mq.h(140) : error
C2079: 'prval' uses undefined struct 'tagPROPVARIANT'
c:\program files\microsoft visual studio\vc98\include\mq.h(146) : error
C2143: syntax error : missing ';' before '*'
c:\program files\microsoft visual studio\vc98\include\mq.h(146) : error
C2501: 'paPropRes' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\mq.h(152) : error
C2146: syntax error : missing ';' before identifier '__RPC_FAR'
c:\program files\microsoft visual studio\vc98\include\mq.h(152) : error
C2501: 'PROPID' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\mq.h(152) : error
C2143: syntax error : missing ';' before '*'
c:\program files\microsoft visual studio\vc98\include\mq.h(152) : error
C2501: '__RPC_FAR' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\mq.h(152) : error
C2501: 'aCol' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\mq.h(161) : error
C2146: syntax error : missing ';' before identifier 'propColumn'
c:\program files\microsoft visual studio\vc98\include\mq.h(161) : error
C2501: 'PROPID' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\mq.h(161) : error
C2501: 'propColumn' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\mq.h(168) : error
C2143: syntax error : missing ';' before '*'
c:\program files\microsoft visual studio\vc98\include\mq.h(168) : error
C2501: 'aCol' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\mq.h(179) : error
C2146: syntax error : missing ';' before identifier 'MSGPROPID'
c:\program files\microsoft visual studio\vc98\include\mq.h(179) : fatal
error C1004: unexpected end of file found
Error executing cl.exe.

CppRichTextItem.obj - 18 error(s), 0 warning(s)

Sep 9 '05 #1
3 4328
Andrew Luke wrote:
Hi all you C++ guru's!

I'm 'very, very' new to C++ and I'm having a little trouble configuring
my VS environment I think - when I try and compile some sample code I'm
getting the following errors, any help would be 'greatly' appreciated!
:) Thanks heaps!

--------------------Configuration: CppRichTextItem - Win32
Debug--------------------
Compiling...
CppRichTextItem.cpp
c:\program files\microsoft visual studio\vc98\include\mq.h(139) : error
C2146: syntax error : missing ';' before identifier 'prop'

[snip]

You'll want to post in

microsoft.public.vc.language
microsoft.public.vc.mfc

since this group is for platform-independent C++ discussion and mq.h is
not a standard C++ header.

Cheers! --M

Sep 9 '05 #2
Thanks, as luck (and fate) would have it I found the answer not long
after I posted this. For anyone else in future the answer was in the
LDD Forums;

https://www-10.lotus.com/ldd/46dom.n...9?OpenDocument

Just involves moving the notes cpp include directories to the top of
the list.

Thanks anyway!

Sep 9 '05 #3
On 9 Sep 2005 06:01:14 -0700, "Andrew Luke" <sc******@gmail.com> wrote:
Hi all you C++ guru's!

I'm 'very, very' new to C++ and I'm having a little trouble configuring
my VS environment I think - when I try and compile some sample code I'm
getting the following errors, any help would be 'greatly' appreciated!
:) Thanks heaps!

--------------------Configuration: CppRichTextItem - Win32
Debug--------------------
Compiling...
CppRichTextItem.cpp
c:\program files\microsoft visual studio\vc98\include\mq.h(139) : error
C2146: syntax error : missing ';' before identifier 'prop'


It looks like you may be missing a header. Or your program is malformed.
Sep 9 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by affiori | last post: by
reply views Thread by Rick Brandt | last post: by
1 post views Thread by Jeremy Ames | last post: by
39 posts views Thread by eruanion | last post: by
1 post views Thread by electrixnow | last post: by
2 posts views Thread by LEX | last post: by
4 posts views Thread by mmiller | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.