473,659 Members | 2,985 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1240
"J" <J@noemail.or g> wrote in message
news:vd******** *************** *********@4ax.c om...
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.micro soft.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.or g> 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
528
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 related to C# and Visual Basic .NET. There are less documents about Visual C++ .NET or Managed C++. I wonder the reasons of below questions: 1) Is C# more powerful than Managed C++ and Visual C++ .NET? 2) Is Microsoft intending to support C# and...
7
2445
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 globalArray __gc; at the begin of a file. But I get the error "global Array: cannot declare a global or static managed type object or a __gc pointer"
2
1296
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 for what I need. However, to use the code, it looks like I need to compile with managed extensions. Since my project does not use managed extensions, I am not sure what the ramifications are of using them in regards to performance.
2
4730
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 several classes in it), in my c# project. I added the reference to my c# project. But still I can't use the classes. Do I need to use Dllimport?. When I look at the object browser, i can see all the classes but there
12
1622
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. If we put wrappers around some of our code or leave some "asis" what makes our existing production code 'evil' just because it is now considered 'unmanaged'? It may seem like a simple niave question, but the definitions for managed and...
3
1964
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 new format (compiling with /clr:OldSyntax): everything works and compiles fine. Unfortunately, I cannot link to the newly created DLL from any other application/DLL: LNK2019: unresolved external symbol. I've checked the DLL
2
5777
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 function in the previously 6.0 code and I get the error noted below. What I don't understand is since I created this cpp as a new file in .net and inherited from a .net base class then why would I get this error? Both the class and base class to me...
2
2312
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 C++/CLI DLL written in VS2005 into a managed extensions app written with VS2003 and b) use a managed extensions DLL written with VS2003 in a C++/CLI app written in VS2005. How can I do this? Immediate problems I found:
0
1529
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 Extensions' would be a way to synchronise files from a development environment to production? I found this in wiki: <wiki> FrontPage Server Extensions
0
8428
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8335
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
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
8747
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...
0
8627
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...
1
6179
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2752
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
2
1976
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.