473,813 Members | 4,215 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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,issu es etc on providing
compilation support will be very helpful.

Thanks in advance,
kiran

Jan 6 '06 #1
4 1116
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
2869
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
2012
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
2398
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, fast database abstraction layer which conforms to the behavior of the MySQL functions in PHP. This means that a large amount of porting work could be made simple using this porting layer if the application was originally used PHP's native MySQL...
4
1988
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 STL and a touch of MFC. It represents the back end to my applications and, among a number of other things, it performs all file I/O and data management operations (i.e. no GUI). Why would I consider porting it to C++/CLI when it works just...
34
4079
by: subramanian100in | last post by:
Is there any difference between porting and migrating. Kindly explain
0
9734
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
9607
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
10665
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...
1
10420
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7681
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
5568
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5704
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3881
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3029
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.