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

Managed Extensions now obsoleted by CLI?

J
I've just been reading a few articles on how Managed Extensions are
now obsolete! Tough thing to hear, as I've been spending every spare
moment studying them to try to solve a problem.

I'd like to get up to speed on this as quickly as possible, and find
out how the new CLI approach relates to my current app (will it fix
anything? Make things more complex?)

It's impossible to google search for CLI, of course. Millions of
irrelevant hits. And the term CLI seems to have been re-appropriated
or extended from its earlier usage to apply to its more modern usage.

It's apparently only starting its new incarnation in Whidbey, so maybe
the term 'obsolete' is premature for Managed Extensions, but is M.E
expected to disappear quickly once Whidbey is released?

I've spotted only two books that may or may not relate:

Shared Source CLI Essentials
by David Stutz, Ted Neward, Geoff Shilling
OReilly
059600351X

[Is this worthwhile?]

And MAYBE:

The Common Language Infrastructure Annotated Standard
by James S. Miller, Susann Ragsdale, Jim Miller
Addison
0321154932

I suspect that the latter is a CLI spec in the 'older' context.

[Are there more books?]

In general, is this worth pursuing as a more versatile and
powerful solution to interop problems, or is it primarily for
cleanup of ugly and ambiguous syntax?

If the former, where can I find books and info on how I can
use it to solve interop problems involving connecting to
legacy C DLLs? I'd like to get the lay of the land to find
out whether to abandon the current attempts to use M.E.

Nov 17 '05 #1
4 1218
"J" <J@noemail.org> wrote in message
news:vd********************************@4ax.com...
I'd like to get up to speed on this as quickly as possible, and find
out how the new CLI approach relates to my current app (will it fix
anything? Make things more complex?)
Well, if you are not against installing beta software (I don't recommend
this for a "production" or your "main development" machine), and if you have
a broadband connection you can go here

http://lab.msdn.microsoft.com/vs2005/
It's impossible to google search for CLI, of course. Millions of
irrelevant hits. And the term CLI seems to have been re-appropriated
or extended from its earlier usage to apply to its more modern usage.
Try plugging this search string into google

CLI C++ site:msdn.microsoft.com

A quick glance at the results seems to offer promise.
It's apparently only starting its new incarnation in Whidbey, so maybe
the term 'obsolete' is premature for Managed Extensions, but is M.E
expected to disappear quickly once Whidbey is released?
Well, certainly a wise person will drop MC++ as soon as it is feasible. I'm
not sure about this but I _think_ that for those who can not drop it
immediately the old syntax will be supported. You probably should try that
out in the beta or in the shipping product as soon as it is available.
In general, is this worth pursuing as a more versatile and
powerful solution to interop problems, or is it primarily for
cleanup of ugly and ambiguous syntax?
Yes. :-) IMO, both.
If the former, where can I find books and info on how I can
use it to solve interop problems involving connecting to
legacy C DLLs? I'd like to get the lay of the land to find
out whether to abandon the current attempts to use M.E.


Until the product ships and we see what gets published, you may want to
tighten up the google search by adding Lippman (as in Stan Lippman) or
Sutter (as in Herb Sutter) to the search string above and read whatever you
can find by either of them on the subject of the CLI binding.

Regards,
Will
Nov 17 '05 #2
William DePalo [MVP VC++] wrote:
"J" <J@noemail.org> wrote in message
It's apparently only starting its new incarnation in Whidbey, so
maybe the term 'obsolete' is premature for Managed Extensions, but is M.E
expected to disappear quickly once Whidbey is released?


Well, certainly a wise person will drop MC++ as soon as it is
feasible. I'm not sure about this but I _think_ that for those who
can not drop it immediately the old syntax will be supported. You
probably should try that out in the beta or in the shipping product
as soon as it is available.


Yes, Whidbey will continue to support the MC++ syntax.

Command line options:

/clr - new system (C++/CLI)
/clr:oldSyntax - old syntax (MC++)

-cd

Nov 17 '05 #3
J wrote:
I've just been reading a few articles on how Managed Extensions are
now obsolete!

Deprecated. They will be replaced by C++/CLI which also provides some
more features.

Tough thing to hear, as I've been spending every spare
moment studying them to try to solve a problem.

Well it isn't such difficult switch. The __gc class is replaced by ref
class, the managed * with ^, also you get stack allocated ref types, and
deterministic destruction.
I'd like to get up to speed on this as quickly as possible, and find
out how the new CLI approach relates to my current app (will it fix
anything? Make things more complex?)

It's impossible to google search for CLI, of course. Millions of
irrelevant hits. And the term CLI seems to have been re-appropriated
or extended from its earlier usage to apply to its more modern usage.

It's apparently only starting its new incarnation in Whidbey, so maybe
the term 'obsolete' is premature for Managed Extensions, but is M.E
expected to disappear quickly once Whidbey is released?

I've spotted only two books that may or may not relate:

Shared Source CLI Essentials
by David Stutz, Ted Neward, Geoff Shilling
OReilly
059600351X

[Is this worthwhile?]

And MAYBE:

The Common Language Infrastructure Annotated Standard
by James S. Miller, Susann Ragsdale, Jim Miller
Addison
0321154932

I suspect that the latter is a CLI spec in the 'older' context.

[Are there more books?]

In general, is this worth pursuing as a more versatile and
powerful solution to interop problems, or is it primarily for
cleanup of ugly and ambiguous syntax?

Clean up and extension.

If the former, where can I find books and info on how I can
use it to solve interop problems involving connecting to
legacy C DLLs? I'd like to get the lay of the land to find
out whether to abandon the current attempts to use M.E.

C++/CLI standard is still draft and will be ratified about Match.

Some links:

Latest C++/CLI draft standard:
http://www.plumhall.com/C++-CLI%20draft%201.8.pdf

C++/CLI presentation:
http://www.accu.org/conference/prese...keynote%29.pdf

CLI official standard:
http://www.ecma-international.org/pu...s/Ecma-335.htm
And a relatively old page of mine:

http://www23.brinkster.com/noicys/cppcli.htm


--
Ioannis Vranos
Nov 17 '05 #4

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

Similar topics

22
by: Alper AKCAYOZ | last post by:
Hello Esteemed Developers and Experts, I have been using Microsoft Visual C++ .NET for 1 year. During this time, I have searhed some topics over internets. Most of the topics about .NET is...
7
by: Ekim | last post by:
hello, I'm using MANAGED C++ and need one of the following two questions answered: 1.) How can one make a global managed array? I'm thinking on something like defining static System::Byte...
2
by: BCC | last post by:
Hi, I have a need to read in a very simple xml file and initialized some objects from the data. I was reading on the ms website that .net contains its own XML parser, and it sounds pretty good...
2
by: Steven Cool | last post by:
Hi, DA PROBLEM: Once I wrote a c++ dll. I wanted to use that dll in my new c# project, so I compiled it with the CLR option. The compilation was ok. Like I said, I wanted to use the dll (with...
12
by: doug | last post by:
I understand the basics of what managed code offers and that you open yourself up to security issues if you allow unmanaged code. We already have a decent amount of VB6 code to include COM DLLs. ...
3
by: Andreas | last post by:
Hi! I'm currently developing a DLL that makes use of C++ and .net (mixed) using Visual Studio 2003. Now, as I wanted to move to the new Visual Studio 2005, I converted this project into the...
2
by: andy6 via DotNetMonster.com | last post by:
I took a c++ 6.0 project and converted it to c++ .net 2005 project. I want to make a web service out of it. One of the new files I created was a cpp where I have the webmethod pointing to a...
2
by: kelvin.koogan | last post by:
Our company has a mix of users with VS2003 & VS2005. I'm am having difficulty working out how components written with these 2 tools can be written together. I want to be able to a) incorporate a...
0
by: Marc | last post by:
I am reading some stuff on .NET 2.0 and it refers to FTP based project as an alternative to 'FrontPage Server Extensions' which are then obsolete. Ok, I never heard of this. 'FrontPage Server...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...

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.