Lost Password?

Go Back   CodeCall Programming Forum > Software Development > C and C++ > Managed C++

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

Managed C++ Visual Studio .NET managed C++ Topics

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-28-2008, 10:58 PM
andnas_2000 andnas_2000 is offline
Newbie
 
Join Date: Jan 2008
Posts: 1
Credits: 0
Rep Power: 0
andnas_2000 is on a distinguished road
Default C to managed C++

I have traditional C programs that were running on UNIX. These are required to be ported to Windows 2003 Server. Any pointers to the above are much appreciated.

Thought process was to re-compile these C programs in VS2003, make the necessary corrections, make an exe and use the windows scheduler to run these exe's. Is there a better/more appropriate way to do these ?

Should managed C++ be used ?
What problems are likely to occur in this approach ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 01-29-2008, 07:10 AM
v0id's Avatar   
v0id v0id is offline
Super Moderator
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,578
Last Blog:
CherryPy(thon)
Credits: 54
Rep Power: 28
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default

You can convert it to managed C++, if you want to - but you don't have to. I would keep it in C, like you say they already are. Of course you probably need to make some corrections, like you said yourself.

Managed C++ keeps track of the allocated memory, but if those programs have worked once, then they'll probably work now too (with the corrections)

The biggest problem you're going to get is probably the libraries. If your programs are using UNIX-libraries heavily, then you'll probably need to rewrite the whole program, and use Windows-libraries instead.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
-
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
-
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

I'm always up for a chat, so feel free to contact me...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-30-2008, 11:16 AM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 2,453
Last Blog:
wxWidgets is NOT code ...
Credits: 761
Rep Power: 28
WingedPanther is a jewel in the roughWingedPanther is a jewel in the roughWingedPanther is a jewel in the roughWingedPanther is a jewel in the rough
Default

I agree. There's no reason to change the language. Adding to what v0id said, it may also use UNIX API etc that will require quite a bit of reworking. I would change as little as possible, though.

@Void - added rep
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Managed C++ calling VB .net dll function pranab73 Managed C++ 0 12-25-2007 12:19 PM
C++ v. Managed C++ Kaabi Managed C++ 2 11-28-2007 02:20 AM
Managed C++ vs C# IDE Crane Managed C++ 2 09-05-2006 11:16 AM
Learning Managed C++ NeedHelp Managed C++ 1 06-15-2006 04:06 PM
Convert between managed and unmanaged Crane Managed C++ 0 11-03-2005 03:46 PM


All times are GMT -5. The time now is 03:21 AM.

Contest Stats

Xav ........ 1276.19
MeTh0Dz|Reb0rn ........ 1048.58
morefood2001 ........ 879.43
John ........ 872.39
marwex89 ........ 869.98
WingedPanther ........ 761.06
Brandon W ........ 684.87
chili5 ........ 294.12
Steve.L ........ 216.18
dargueta ........ 192.86

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 81%

Ads