473,698 Members | 2,923 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\inc lude\mq.h(139) : error
C2146: syntax error : missing ';' before identifier 'prop'
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(139) : error
C2501: 'PROPID' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(139) : error
C2501: 'prop' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(140) : error
C2079: 'prval' uses undefined struct 'tagPROPVARIANT '
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(146) : error
C2143: syntax error : missing ';' before '*'
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(146) : error
C2501: 'paPropRes' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(152) : error
C2146: syntax error : missing ';' before identifier '__RPC_FAR'
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(152) : error
C2501: 'PROPID' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(152) : error
C2143: syntax error : missing ';' before '*'
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(152) : error
C2501: '__RPC_FAR' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(152) : error
C2501: 'aCol' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(161) : error
C2146: syntax error : missing ';' before identifier 'propColumn'
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(161) : error
C2501: 'PROPID' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(161) : error
C2501: 'propColumn' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(168) : error
C2143: syntax error : missing ';' before '*'
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(168) : error
C2501: 'aCol' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\inc lude\mq.h(179) : error
C2146: syntax error : missing ';' before identifier 'MSGPROPID'
c:\program files\microsoft visual studio\vc98\inc lude\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 4579
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\inc lude\mq.h(139) : error
C2146: syntax error : missing ';' before identifier 'prop'

[snip]

You'll want to post in

microsoft.publi c.vc.language
microsoft.publi c.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...
CppRichTextIte m.cpp
c:\program files\microsoft visual studio\vc98\inc lude\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
2099
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: ========= Error SQL-query : CREATE TABLE nuke_contactbook(
0
1408
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 required in a well-formed document. If I send the exact same request to my local instance of the servlet running in JBuilder's IDE it parses just fine which is making this a real bitch to troubleshoot. (JBuilder 7)
4
2359
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 declare it outside try scope either since we have to call cmd.executeReader to create sqldatareader public string GetLogs(int logID) {
1
1591
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 catching. Everything within my stored procedure is contained within a transaction. When utilizing the sql profiler, we can see that the transaction successfully begins and commits. The data in the sql table is updated at this point. My data...
39
13427
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 and my main html page which is test.html. They are of course part of a much bigger system of files but i have tracked down the problem to that reduced part of the code. The page loads perfectly fine however when i click search i get the error...
1
5390
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: Project: drawing_control, Configuration: Release Win32 ------ 1>Deleting intermediate and output files for project 'drawing_control', configuration 'Release|Win32'
0
3570
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 OleDbParameterCollection" whenI try to write a new record. Delete and Modify work fine its just the add record function causes the error.
2
1928
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
1869
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 I want the second one to submit to the same email, then redirect to a different page. I've downloaded some code, so I can't take credit for it, but I'm trying to use my basic knowledge to create and IF and ELSE IF. Right now, I'm just trying to get...
0
9170
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8902
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7740
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4623
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.