473,399 Members | 2,858 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,399 software developers and data experts.

VC++ 2003 - /clr:noAssembly doesn't work

I am trying to build a class library which is to be used as a wrapper
for some c++ code I have. When I try to compile the following code:

#using <mscorlib.dll>

using namespace System;

#include "myClass.h"

public __gc class MCWrapper {

MCWrapper::MCWrapper()
{

}

};

I get the following error message:
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\ServProv.h(48): warning C4935: assembly
access specifier modified from 'public'

In myClass.h I make use of the public and private keywords. Based
on what I read in the docs if I use the /clr:noAssembly switch when I
compile it should solve this problem. Using this switch makes no
difference at all, I still get C4935. Is there something I am missing
here?

Thanks,

fe**********@yahoo.com
Nov 17 '05 #1
0 744

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

Similar topics

1
by: .pd. | last post by:
Hi - I created an icon in VS.NET 2003. I did nothing more than Project-> New Item->Icon File and then used the paint tools to draw it. Then I saved the file. In Windows Explorer, the icon is...
0
by: INGSOC | last post by:
Using remote debugging, I can attach to a windows service and run it in debug mode in VS.Net 2003. The problem is this service uses two supporting dlls. On the remote service, the dlls have...
0
by: Dianne Siebold | last post by:
I have some simple VB.NET code that sends a fax through our fax server. The fax server is on a Windows Server 2003 box. When I run the VB app on an XP machine and send a fax remotely, it sends...
0
by: LBeveridge | last post by:
Hi, This morning I installed Visual Studio 2005 side-by-side 2003. The first problem I've noted is that projects in 2003 that have "Start External Program" set don't do that. I'm creating a...
2
by: k-w | last post by:
Hi all In vb I do: Dim Ex As New Excel.Application Ex.Workbooks.Open "c:\tmp\Book1.xls" Similar code in VC doesn't work:
5
by: Filippo Bettinaglio | last post by:
I have a DLL written in C++ (unmanaged), which I want to inteface with. I created a standard window form program with VC++ 2005, all fine I have imported an .h file the .lib file and all works. ...
2
by: =?Utf-8?B?U2VlU2hhcnA=?= | last post by:
It seems I cannot use #region and #endregion to hide those auto generated windows form control declarations. They are available in VC# 2003 though. Is it true that VC 2003 doesn't support #region...
3
by: =?Utf-8?B?TGl6?= | last post by:
I've been programming in VB.Net with VS2003 for a couple of years. However, now that I want to use C#, it will not work. The compiler does not recognize "system" or "Console" even though a...
0
by: =?Utf-8?B?YmVuamk=?= | last post by:
Hi, As this article (http://msdn2.microsoft.com/en-us/magazine/cc163655.aspx) mentions, there is a cold and warm start time for managed apps. I'm running a few .net 2.0 winforms apps on my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
0
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...
0
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...
0
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,...

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.