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

A

Andrew Luke

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)
 
M

mlimber

Andrew said:
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
 
D

Dave Rahardja

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top