Click here to Skip to main content
15,899,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: what is wrong with code?? Pin
Heath Stewart28-Feb-04 3:28
protectorHeath Stewart28-Feb-04 3:28 
GeneralRe: what is wrong with code?? Pin
SherKar27-Feb-04 20:58
SherKar27-Feb-04 20:58 
GeneralPorting to C# Pin
Kant27-Feb-04 9:30
Kant27-Feb-04 9:30 
GeneralRe: Porting to C# Pin
Heath Stewart27-Feb-04 9:49
protectorHeath Stewart27-Feb-04 9:49 
GeneralRe: Porting to C# Pin
Kant27-Feb-04 10:31
Kant27-Feb-04 10:31 
GeneralRe: Porting to C# Pin
Heath Stewart27-Feb-04 11:08
protectorHeath Stewart27-Feb-04 11:08 
GeneralRe: Porting to C# Pin
Matthew Hazlett27-Feb-04 13:27
Matthew Hazlett27-Feb-04 13:27 
GeneralRe: Porting to C# Pin
Marc Clifton27-Feb-04 16:15
mvaMarc Clifton27-Feb-04 16:15 
Kant wrote:
Any experts out there who converted their projects and would like to share their good/bad experiences?

It's a total rewrite.

MFC != .NET

multiple inheritance vs. single inheritance and interfaces means you are probably going to change some architecture somewhere.

pointers? HAHAHAHAHA

delegates and events. Cool, but rather different.

All those nice nifty third party controls that make pretty UI's and plug right into MFC? Forget it. Major PITA to integrate with .NET

Performance (.NET really is slower)

At this point, I'm right writing new apps for a client in C#. That still meant writing interfaces in C++ to the Ethernet drivers we're using (www.pcausa.com), the iButton devices we communicate with (www.ibutton.com), and the serial port drivers that support multidrop and nine-bit protocol (www.wcscnet.com). Sure, I do some pretty custom stuff, but the application automation layer was a total rewrite as well--data access layer, component management, form management, etc.

My client asked me if I wanted to rewrite our primary application in C#. I said "sure. Got $40,000?" He's probably invested that much in the MFC/C++ solution, and it there's nothing about C#/.NET that would make it any less expensive to rewrite, retest, re-screw up.

Marc


Microsoft MVP, Visual C#
GeneralRe: Porting to C# Pin
Kant28-Feb-04 18:53
Kant28-Feb-04 18:53 
GeneralRe: Porting to C# Pin
Giles29-Feb-04 0:15
Giles29-Feb-04 0:15 
GeneralResizing form background image Pin
Flack27-Feb-04 9:10
Flack27-Feb-04 9:10 
GeneralRe: Resizing form background image Pin
Heath Stewart27-Feb-04 9:59
protectorHeath Stewart27-Feb-04 9:59 
QuestionFileIOPermission also takes away UIPermission? Pin
Nathan Blomquist27-Feb-04 8:37
Nathan Blomquist27-Feb-04 8:37 
AnswerRe: FileIOPermission also takes away UIPermission? Pin
Heath Stewart27-Feb-04 9:38
protectorHeath Stewart27-Feb-04 9:38 
GeneralRe: FileIOPermission also takes away UIPermission? Pin
Nathan Blomquist27-Feb-04 11:21
Nathan Blomquist27-Feb-04 11:21 
GeneralRe: FileIOPermission also takes away UIPermission? Pin
Heath Stewart28-Feb-04 3:16
protectorHeath Stewart28-Feb-04 3:16 
GeneralRe: FileIOPermission also takes away UIPermission? Pin
Nathan Blomquist28-Feb-04 5:11
Nathan Blomquist28-Feb-04 5:11 
GeneralRe: FileIOPermission also takes away UIPermission? Pin
Heath Stewart28-Feb-04 5:25
protectorHeath Stewart28-Feb-04 5:25 
GeneralRe: FileIOPermission also takes away UIPermission? Pin
Nathan Blomquist28-Feb-04 6:34
Nathan Blomquist28-Feb-04 6:34 
GeneralUsercontrol as a container Pin
meago27-Feb-04 8:28
meago27-Feb-04 8:28 
GeneralRe: Usercontrol as a container Pin
Roger Alsing27-Feb-04 9:19
Roger Alsing27-Feb-04 9:19 
GeneralRe: Usercontrol as a container Pin
meago1-Mar-04 12:44
meago1-Mar-04 12:44 
GeneralGet wmv file information Pin
Matt Newman27-Feb-04 8:22
Matt Newman27-Feb-04 8:22 
GeneralRe: Get wmv file information Pin
Heath Stewart27-Feb-04 9:30
protectorHeath Stewart27-Feb-04 9:30 
GeneralCheckbox in Datagrid - check in one click Pin
Ruchi Gupta27-Feb-04 6:35
Ruchi Gupta27-Feb-04 6:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.