Home > Archive > VC Utilities > February 2006 > Translation tool C++/CLI available?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Translation tool C++/CLI available?
|
|
| Marinus 2006-02-13, 7:05 pm |
| Hello Newsgroup,
I've a lot of code in managed C++ and I want to convert it into C++/CLI.
Does anyone know if there is a tool available for automating the translation?
There was a rumour of developing a tool "mscfront". But I can't trace it.
Thanks in advance,
Marinus Vonhof
| |
| muchan 2006-02-13, 7:05 pm |
| Marinus wrote:
> Hello Newsgroup,
>
> I've a lot of code in managed C++ and I want to convert it into C++/CLI.
> Does anyone know if there is a tool available for automating the translation?
>
AFAIK, "managed" means "run on the CLI platform" or "allocated on the
Gabage Corrected heap of CLI plat form", so "manage C++" IS "C++/CLI",
isn't it? In this case I don't see why any translation is neccessary.
Or Microsoft call the previous version as "managed C++" and newer verson
"C++/CLI"? (I've been having problem with MS terminologies...)
Anyway, I think it's better to ask on <microsoft.public.dotnet.language.vc>,
where many C++/CLI programmers are reading.
muchan
| |
| Jochen Kalmbach [MVP] 2006-02-13, 7:05 pm |
| Hi muchan!
> AFAIK, "managed" means "run on the CLI platform" or "allocated on the
> Gabage Corrected heap of CLI plat form", so "manage C++" IS "C++/CLI",
> isn't it?
No it isn´t.
It has a completely different syntax!
> Or Microsoft call the previous version as "managed C++" and newer verson
> "C++/CLI"? (I've been having problem with MS terminologies...)
Yes; if you compile with /clr:
VS2002/2003: Managed C++
VS2005: C++/CLI
And: No, i don´t know such a tool... I am also looking for one...
http://blog.kalmbachnet.de/?postid=71
--
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/
| |
| Marinus 2006-02-13, 7:05 pm |
| Hello Muchan,
Thanks for your suggestion.
With "managed C++" I meant indeed the previous version in VS 2003.
The C++/CLI language in VS 2005 differs in many ways.
Greetings,
Marinus Vonhof
"muchan" wrote:
> Marinus wrote:
>
> AFAIK, "managed" means "run on the CLI platform" or "allocated on the
> Gabage Corrected heap of CLI plat form", so "manage C++" IS "C++/CLI",
> isn't it? In this case I don't see why any translation is neccessary.
>
> Or Microsoft call the previous version as "managed C++" and newer verson
> "C++/CLI"? (I've been having problem with MS terminologies...)
>
> Anyway, I think it's better to ask on <microsoft.public.dotnet.language.vc>,
> where many C++/CLI programmers are reading.
>
>
> muchan
>
| |
| John Dallman 2006-02-13, 7:05 pm |
| In article <#IApCkNMGHA.676@TK2MSFTNGP10.phx.gbl>,
nospam-Jochen.Kalmbach@holzma.de (Jochen Kalmbach [MVP]) wrote:
> No it isn´t. It has a completely different syntax!
Oops... Y'know, I'm really glad we waited for VS.2005 before we started on
doing anything significant with .NET!
---
John Dallman jgd@cix.co.uk
"C++ - the FORTRAN of the early 21st century."
| |
| Gary Chang[MSFT] 2006-02-13, 9:58 pm |
| Hi Marinus,
AFAIK, currently there is no such code translation tool to convert VC7
managed C++ code to the VC2005 C++/CLI code.
Thanks!
Best regards,
Gary Chang
Microsoft Community Support
========================================
==============
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng2006 when prompted. Once you have entered the
secure code mmpng2006, you will be able to update your profile and access
the partner newsgroups.
========================================
==============
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
========================================
==============
This posting is provided "AS IS" with no warranties, and confers no rights.
========================================
==============
| |
| Marinus 2006-02-14, 4:00 am |
| Hi Gary,
Thanks for the clear answer.
Just one question remains:
Is there a tool (something like "mscfront") within a reasonable period
available?
In other words, should I translate myself or is it better to have some
patience.
Best regards,
Marinus
--
Marinus Vonhof
""Gary Chang[MSFT]"" wrote:
> Hi Marinus,
>
> AFAIK, currently there is no such code translation tool to convert VC7
> managed C++ code to the VC2005 C++/CLI code.
>
> Thanks!
>
> Best regards,
>
> Gary Chang
> Microsoft Community Support
> ========================================
==============
> PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
> AM PST, February 14, 2006. Please complete a re-registration process by
> entering the secure code mmpng2006 when prompted. Once you have entered the
> secure code mmpng2006, you will be able to update your profile and access
> the partner newsgroups.
> ========================================
==============
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from this issue.
> ========================================
==============
> This posting is provided "AS IS" with no warranties, and confers no rights.
> ========================================
==============
>
>
| |
| muchan 2006-02-14, 8:01 am |
| Jochen Kalmbach [MVP] wrote:
> Hi muchan!
>
>
>
> No it isn´t.
> It has a completely different syntax!
>
Thank you for correction. But does Microsoft stoped calling the code
"managed C++" for the C++/CLI part of mixed/linked C++ program,
that links CLI objects and non-CLR binaries?
>
>
>
> Yes; if you compile with /clr:
> VS2002/2003: Managed C++
> VS2005: C++/CLI
>
Thanks. Then my question is if the C++/CLI of next version (with whatever name)
would be compatible with current "C++/CLI"... (I know about standard things,
but I heard that STL/CLI is comming soon... I'm not sure if syntax is sure,
or extended, or something deprecated...)
I had problem, when they started calling everything "Active X" when VC6
came... and I didn't find the documentation about what was the difference
from OLE2... and took some time to find out that Active X (and later COM)
was just renamed OLE2... or correct me if I'm wrong.
Then now reading about ADO.net... and after reading so many help pages to
know what eactly is ADO.net, and fund out it's almost nothing with previous
ADO, but just new .Net object called DataSet and the technology around this
object... If Microsoft's documents are written in pure technical terms,
I didn't need to read so many pages just find our such simple fact...
but all the document, even the technical paper is filled with marketting
things, and make it many good informations behind the haze.
Sorry. I stop here...
muchan
| |
| Gary Chang[MSFT] 2006-02-14, 9:57 pm |
| Hi Marinus,
>Is there a tool (something like "mscfront") within a reasonable
>period available?
I am afraid there is no such tool in our plan, thanks!
Best regards,
Gary Chang
Microsoft Community Support
========================================
==============
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng2006 when prompted. Once you have entered the
secure code mmpng2006, you will be able to update your profile and access
the partner newsgroups.
========================================
==============
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
========================================
==============
This posting is provided "AS IS" with no warranties, and confers no rights.
========================================
==============
| |
| Marinus 2006-02-27, 7:14 pm |
| Hi Gary,
Thanks anyway for your efforts.
Best regards,
Marinus
--
Marinus Vonhof
""Gary Chang[MSFT]"" wrote:
> Hi Marinus,
>
>
> I am afraid there is no such tool in our plan, thanks!
>
> Best regards,
>
> Gary Chang
> Microsoft Community Support
> ========================================
==============
> PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
> AM PST, February 14, 2006. Please complete a re-registration process by
> entering the secure code mmpng2006 when prompted. Once you have entered the
> secure code mmpng2006, you will be able to update your profile and access
> the partner newsgroups.
> ========================================
==============
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from this issue.
> ========================================
==============
> This posting is provided "AS IS" with no warranties, and confers no rights.
> ========================================
==============
>
>
| |
| Gary Chang[MSFT] 2006-02-27, 9:59 pm |
| You are welcome, Marinus. :)
Good Luck!
Best regards,
Gary Chang
Microsoft Community Support
========================================
==============
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
========================================
==============
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
========================================
==============
This posting is provided "AS IS" with no warranties, and confers no rights.
========================================
==============
|
|
|
|
|