Click here to Skip to main content
15,885,244 members
Home / Discussions / C#
   

C#

 
GeneralRe: MDI Parent in C# Pin
BobJanova13-Sep-12 4:31
BobJanova13-Sep-12 4:31 
AnswerMessage Closed Pin
13-Sep-12 3:09
Albarhami13-Sep-12 3:09 
AnswerRe: MDI Parent in C# Pin
Ingo13-Sep-12 4:15
Ingo13-Sep-12 4:15 
AnswerRe: MDI Parent in C# Pin
Pete O'Hanlon13-Sep-12 4:31
mvePete O'Hanlon13-Sep-12 4:31 
AnswerRe: MDI Parent in C# Pin
BillWoodruff17-Sep-12 6:27
professionalBillWoodruff17-Sep-12 6:27 
QuestionBackUp And Restore of SqlServer 2005 using C# Windows Application Pin
NABIN SEN12-Sep-12 19:14
NABIN SEN12-Sep-12 19:14 
AnswerRe: BackUp And Restore of SqlServer 2005 using C# Windows Application Pin
Roger Wright12-Sep-12 20:28
professionalRoger Wright12-Sep-12 20:28 
QuestionFirst real C# program by C++ developer Pin
PapaGeek12-Sep-12 16:27
PapaGeek12-Sep-12 16:27 
I’m working on a special project over the next 6 weeks while I recover from surgery. I’m trying to teach an old style C++ developer (me) new tricks using C#!

I’m looking for advice and some helpful links on how to convert a console based C++ program of mine to C#. I can go into the detail of the project, but it is fairly large and that would take us down the wrong path. I’m basically looking for some general information here.

My first thought on this is to create 3 separate solutions within one project.

The first would be a DLL that does all the work and returns the “feedback” (what it did and did it do successfully or have problems it had, etc.) back to the main process in the form of a string to be displayed.

I’ve never written a DLL, so this is a first for me also!

The second solution would be a windows form which can be used to set up the various calling parameters for calling the DLL to do its work …

And the third would be a console based application that would use the same DLL interface.

I’m using http://apex.vtc.com/ms-c-2008.php as a tutorial for learning C# and should be finished with the free stuff tomorrow at which time I will start paying my monthly fees until I have everything working properly. I’m using VS 2008 Professional Edition because that is what in loaded on my home PC.

Does this sound like a reasonable approach?

Where can I get a good tutorial on how to write a DLL and how to create bi-directional communicate with it?

Thanks in advance for any feedback and pointers you can offer.
AnswerRe: First real C# program by C++ developer Pin
Roger Wright12-Sep-12 20:21
professionalRoger Wright12-Sep-12 20:21 
GeneralRe: First real C# program by C++ developer Pin
BobJanova12-Sep-12 23:07
BobJanova12-Sep-12 23:07 
GeneralRe: First real C# program by C++ developer Pin
jschell13-Sep-12 8:28
jschell13-Sep-12 8:28 
AnswerRe: First real C# program by C++ developer Pin
V.12-Sep-12 20:30
professionalV.12-Sep-12 20:30 
AnswerRe: First real C# program by C++ developer Pin
Richard MacCutchan12-Sep-12 22:26
mveRichard MacCutchan12-Sep-12 22:26 
AnswerRe: First real C# program by C++ developer Pin
jschell13-Sep-12 8:59
jschell13-Sep-12 8:59 
AnswerRe: First real C# program by C++ developer Pin
wizardzz13-Sep-12 10:46
wizardzz13-Sep-12 10:46 
AnswerRe: First real C# program by C++ developer Pin
Alan Balkany13-Sep-12 11:10
Alan Balkany13-Sep-12 11:10 
AnswerRe: First real C# program by C++ developer Pin
Alan Balkany13-Sep-12 11:44
Alan Balkany13-Sep-12 11:44 
QuestionDynamic TimeSlots Pin
Member 941347212-Sep-12 8:34
Member 941347212-Sep-12 8:34 
AnswerRe: Dynamic TimeSlots Pin
Pete O'Hanlon12-Sep-12 9:46
mvePete O'Hanlon12-Sep-12 9:46 
QuestionSieve of Eratosthenes Pin
WebMaster12-Sep-12 4:23
WebMaster12-Sep-12 4:23 
AnswerRe: Sieve of Eratosthenes Pin
fjdiewornncalwe12-Sep-12 4:31
professionalfjdiewornncalwe12-Sep-12 4:31 
AnswerRe: Sieve of Eratosthenes Pin
Manfred Rudolf Bihy12-Sep-12 4:36
professionalManfred Rudolf Bihy12-Sep-12 4:36 
GeneralRe: Sieve of Eratosthenes Pin
WebMaster12-Sep-12 4:39
WebMaster12-Sep-12 4:39 
GeneralRe: Sieve of Eratosthenes Pin
Manfred Rudolf Bihy12-Sep-12 4:45
professionalManfred Rudolf Bihy12-Sep-12 4:45 
GeneralRe: Sieve of Eratosthenes Pin
WebMaster12-Sep-12 4:56
WebMaster12-Sep-12 4:56 

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.