473,385 Members | 1,610 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,385 software developers and data experts.

Strange compile error

Hello!

I have downloaded a project from the site "The code project" but I get the
following 3 compile error.

C:\tony\IPC\AppModule.NamedPipes\NamedPipeNative.c s(548): Missing XML
comment for publicly visible type or member
'AppModule.NamedPipes.SECURITY_ATTRIBUTES.nLength'

C:\tony\IPC\AppModule.NamedPipes\NamedPipeNative.c s(550): Missing XML
comment for publicly visible type or member
'AppModule.NamedPipes.SECURITY_ATTRIBUTES.lpSecuri tyDescriptor'

C:\tony\IPC\AppModule.NamedPipes\NamedPipeNative.c s(551): Missing XML
comment for publicly visible type or member
'AppModule.NamedPipes.SECURITY_ATTRIBUTES.bInherit Handle'

Here is the code where the error appears.
#region Comments
/// <summary>
/// Security Attributes structure.
/// </summary>
#endregion
[StructLayout(LayoutKind.Sequential)]
public struct SECURITY_ATTRIBUTES
{
public int nLength; // this and the next two is
it a complaint about
public IntPtr lpSecurityDescriptor;
public bool bInheritHandle;
}

How you any idea how I get rid of these compile errors?

//Tony


Feb 21 '07 #1
2 1569
Hi,

"TonyJ" <jo*****************@telia.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hello!
>
How you any idea how I get rid of these compile errors?
It happens when you want to generate a XML file for your code, I don't quite
remember how to get rid of it. I DO KNOW for sure if you google the error
message "Missing XML comment for publicly visible type or member" you will
get a solution (it was what I did)
--
Ignacio Machin
machin AT laceupsolutions com
Feb 21 '07 #2
On Feb 21, 3:25 am, "TonyJ" <johansson.anders...@telia.comwrote:
Hello!

I have downloaded a project from the site "The code project" but I get the
following 3 compile error.

C:\tony\IPC\AppModule.NamedPipes\NamedPipeNative.c s(548): Missing XML
comment for publicly visible type or member
'AppModule.NamedPipes.SECURITY_ATTRIBUTES.nLength'

C:\tony\IPC\AppModule.NamedPipes\NamedPipeNative.c s(550): Missing XML
comment for publicly visible type or member
'AppModule.NamedPipes.SECURITY_ATTRIBUTES.lpSecuri tyDescriptor'

C:\tony\IPC\AppModule.NamedPipes\NamedPipeNative.c s(551): Missing XML
comment for publicly visible type or member
'AppModule.NamedPipes.SECURITY_ATTRIBUTES.bInherit Handle'

Here is the code where the error appears.
#region Comments
/// <summary>
/// Security Attributes structure.
/// </summary>
#endregion
[StructLayout(LayoutKind.Sequential)]
public struct SECURITY_ATTRIBUTES
{
public int nLength;
public IntPtr lpSecurityDescriptor;
public bool bInheritHandle;

}

How you any idea how I get rid of these compile errors?

//Tony
/// <summary>
/// Security Attributes structure.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct SECURITY_ATTRIBUTES
{
/// <summary></summary>
public int nLength;
/// <summary></summary>
public IntPtr lpSecurityDescriptor;
/// <summary></summary>
public bool bInheritHandle;
}

....and technically they're compiler _warnings_. You should still get
working code out of the compiler, even if it gives you these warnings.

Feb 21 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tony Johansson | last post by:
Hello! I get compile error when compiling using the command javac from the command terminal window(CMD). I have just two classes which are called HelloWorld.java and Slask.java. I have both...
2
by: Tony Johansson | last post by:
Hello! I get compile error when compiling using the command javac from the command terminal window(CMD). I have just two classes which are called HelloWorld.java and Slask.java. I have both...
3
by: Don McNamara | last post by:
Hi, I've hit quite a strange problem with XmlSerializer on my W2K3 server. When I serialize/deserialize using an exe on my local computer (XP), everything works fine. When I put the code out on...
6
by: leonecla | last post by:
Hi everybody, I'm facing a very very strange problem with a very very simple C program... My goal should be to write to a binary file some numbers (integers), each one represented as a sequence...
0
by: Kris Vanherck | last post by:
yesterday i started getting this strange error when i try to run my asp.net project: Compiler Error Message: CS0006: Metadata file 'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net...
6
by: Chad | last post by:
I'm not too sure if the question would fall under comp.lang.c or some kind of compiler newsgroup. I'm going to ask anyhow. Given the following: #include <stdio.h> int main(void) { int a =...
4
by: tony | last post by:
Hello! My question is about calling this method CollectData below but I get a compile error that I shouldn't have because the type parameter is correct. The compile error is the following:...
6
by: tony | last post by:
Hello! I have several projects where each one build a library.(class library or window control library). Now I get some strange compile error when building the *.exe file and doesn't...
9
by: Larry | last post by:
I was testing the buffer size of system call, read(), and found a strange error on Ubuntu 7.10 server. The code is attached. If the BUFFSIZE is set to from 128 to 255, the code will produce an...
1
by: pitjpz | last post by:
We have moved our Database to another server. The server it was on used SQL 4 and the new one its on now uses SQL5 the only problem we can find is that when you attempt to delete a record from...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
0
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...

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.