473,386 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 4552
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: affiori | last post by:
Can anybody shed some light on this error? When I try to create tables for the database for phpnuke using the supplied sql file when i get toe "nuke_contactbook" table, I get back this: =========...
0
by: Rick Brandt | last post by:
I send an XML character stream to a Java servlet with an HTTPRequest and get the following error on both of our web servers hosting the servlet. org.xml.sax.SAXParseException: The root element is...
4
by: mimi | last post by:
Hi Please help me out, I can't find a way to close a sqldatareader when error occur at statement cmd.ExecuteReader(). I can't close it in catch because it is local in try scope and I can't...
1
by: Jeremy Ames | last post by:
I have a datagrid that updates the table using a stored procedure. The stored procedure is confirmed to complete correctly, yet the sql data adapter is returning an error that my application is...
39
by: eruanion | last post by:
Hi, I've been working on this for a while now and I can't seem to find out what is wrong with my code. I have 2 files one c3common.js which only contains javascript functions for my main html page...
1
by: electrixnow | last post by:
Help!, I need to compile this code with static libs so it run on another XP machine that does'nt have MS Studio installed. When I compile now I get an ERROR: 1>------ Rebuild All started:...
0
by: DC | last post by:
The problem I'm using the .NET GridView and FormView objects for the first time and im getting the error "An OleDbParameter with ParameterName '@ID' is not contained by this...
2
by: LEX | last post by:
Could not update; currently locked by another session on this machine. Can someone help me figure out why access gives me this error on some record's memo fields but not on others?
4
by: mmiller | last post by:
I have a pretty limited knowledge of PHP. My scenario is: I want one form to have two (2) submit buttons. I want one button to submit an email to a specific address then redirect to a page, and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.