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

how do you set : "/clr:oldSyntax"

Hi !

I tried everywhere in Microsoft Visual Studio 2005 Beta(MVS 2005 Beta)
to put the option "/clr:oldSyntax" but I didn't find it.

How can I add it please?

Sincerely

bor_kev

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
Nov 17 '05 #1
5 8090
bor_kev wrote:
Hi !

I tried everywhere in Microsoft Visual Studio 2005 Beta(MVS 2005 Beta)
to put the option "/clr:oldSyntax" but I didn't find it.


You may have to add it to the compiler command line explicitly. In the
project settings, under C++ settings, there's an Advanced tab where you can
add to the command line - just add /clr:oldSyntax there.

-cd
Nov 17 '05 #2
Hi!
First of all thank u for your support ;I tried what u said but the
problem is :

-there are several lines in this advanced table (so, which line am i
supposed to choose ?)

- then i add it in the different lines but i got a compilation error
sayin' /clr and EH library are not compatible...

I am quite worried cause i really have to finish it quickly...
I remind u (in case it's the first time u read my message)that i have
to integrate a unmanaged code from Visual C++ .NET 2003 to Visual
Studio 2005 Beta. In addition I would be very glad to modify my
former code as little as possible.
if i could have the contact of somebody who is used to developing
under Microsoft Visual Studio 2005 Beta (MSN contact to debug with
him online) i would be very happy :-)

P.S : Don't get me wrong, I really appreciate the help of the previous
man
who answered me and i don't mean at all that he is not
competent :-)

I thank u in advance.

Sincerely

bor_kev

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
Nov 17 '05 #3
bor_kev wrote:
Hi!
First of all thank u for your support ;I tried what u said but the
problem is :

-there are several lines in this advanced table (so, which line am i
supposed to choose ?)

- then i add it in the different lines but i got a compilation error
sayin' /clr and EH library are not compatible...


You need to compile with /EHa instead of /EHs. You can choose /EHa from
within the normal project options in the IDE (/EHa = 'asynchronous exception
handling').

-cd
Nov 17 '05 #4
bor_kev wrote:
I tried everywhere in Microsoft Visual Studio 2005 Beta(MVS 2005 Beta)
to put the option "/clr:oldSyntax" but I didn't find it.

How can I add it please?


1. Right-click on a project in the solution explorer
2. On the left, click "General"
3. On the right, under "Common Language Runtime Support", choose "Common
Language Runtime Support, Old Syntax (/clr:oldSyntax)"

--
Tim Robinson (MVP, Windows SDK)
http://mobius.sourceforge.net/
Nov 17 '05 #5
Sorry, but when i do so and i compile,i get this error message :

Command line error D8004 : '/wd' requires an argument.

In addition , i get this message box :

Package 'Common IDE Managed Package' failed to load.

What can i do?

P.S : is there a hot line phone number to debug online with Visual
Studio 2005 Beta expert ?

Sincerely

bor_kev

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
Nov 17 '05 #6

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

Similar topics

2
by: bor_kev | last post by:
Hi! Now, I have to develop under Microsoft Visual Studio 2005 Beta, while I used to develop under Visual C++ .NET. That means I have to migrate all my former projects into this environment. The...
5
by: Cmtk Software | last post by:
The following code: public __gc class MyClass { public: void MyFunc (int __gc* number); }; Generates the following metadata for C# when compiled in VC 2005 with the /clr:oldsyntax switch...
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: 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:
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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 projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.