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

Porting to .Net

Hi All,

We have a product which is completely programmed using vc6,now there is
a requirement from the client asking for providing .net compilation
support to the existing codebase.

We have to give an estimation for completing the above requirement.Any
help on what all things to be considered,issues etc on providing
compilation support will be very helpful.

Thanks in advance,
kiran

Jan 6 '06 #1
4 1102
I'm not sure I understand your question. You should look and see if
there is a business incentive to move to .NET. Just like it doesn't
make sense to use VC 6 for most products and some foolish people were
doing that even a couple years ago then it also doesn't make sense to
port to .NET just for the sake of doing it.

Most people use Winforms because it is very capable, powerful, and
productive. You will probably have to recode the entire product to take
advantage of Winforms unless you really designed it well.

You might look and see if it would be better suited as a web
application. C# is better suited for .NET development as well so even
if you seperated the logic then you will have to consider whether to
leave business logic in C++ and interface to C# or upgrade the entire
product.

If client simply wants to be able to interface to your code then you
could write a wrapper for it but I wouldn't want that unless it was for
system level stuff.
Curtis
http://www.ghostclip.com
The Premier Help System For Developers

Jan 9 '06 #2
Hi,

Thanks for your reply.The point is that the future development will be
done using dot net.We are not porting the entire existing
application(not rewriting the code again).What we want is to provide
compilation support for existing code in .Net.

Thanks,
kiran

Jan 12 '06 #3
Hi,

Thanks for your reply.The point is that the future development will be
done using dot net.We are not porting the entire existing
application(not rewriting the code again).What we want is to provide
compilation support for existing code in .Net.

Thanks,
kiran

Jan 12 '06 #4
Hi,

depending on how the original code is written, it might or might not
work. If you have a monolithic application in VB6 and have the idea to
just make .NET compileable, you might as well scratch the idea. Unlike
the move from VB5 to VB6, so much has fundamentally changed that that
is a pretty ugly thing to do and you'll always be fighting to keep it
that way. This view is based on what I saw from C++, so it might not be
that ugly.
My suggestion would rather be to decide to make the switch to a certain
time and then move all. Of course better would be if you have made
clear, distinct Components of it. Then you can move them one by one and
don't have to do all at once.
The issue is different in case you have written most of it COM
Components. Things get pretty easy then because .NET can create COM
Components and use native COM componens. In essence you can move each
COM Component at your leasure and aren't forced to make the one big
cut. That would also be my suggestion in case you are looking into how
to expand your development into the .NET field.
And of course that is one big issue the previous poster mentioned:
Because Winforms is the new way to make a GUI in .NET all the things
you have in VB6 are an issue. I think you might be able to get it to
compile but I don't think it will be a lot of fun.

Greets,
Eduard Ralph

Jan 12 '06 #5

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

Similar topics

5
by: Ryan Liu | last post by:
Hi All, Now I am porting CC to GCC and I have some problems. Would you mind tell me some document which have some description how to port CC to GCC ?? Thank you very much. Ryan
4
by: golu | last post by:
Has any body done the porting from oracle to sql server, what were the issues in porting the data bases? Also suggest some resources which can be helpful in the porting project TIA Golu
4
by: Chris Travers | last post by:
Hi all; A few years ago, I set about porting a PHP application from MySQL to PostgreSQL, after realizing that MySQL wasn't going to be able to handle it. In order to do this, I built a light,...
4
by: Ian | last post by:
I would like to hear from others who have considered and/or ported code from traditional C++ to C++/CLI. The class library I am considering porting to C++/CLI was written in traditional C++ with...
34
by: subramanian100in | last post by:
Is there any difference between porting and migrating. Kindly explain
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.