Click here to Skip to main content
15,166,728 members
Home / Discussions / C#
   

C#

 
AnswerRe: MDI Parent in C# Pin
Ingo13-Sep-12 2:04
MemberIngo13-Sep-12 2:04 
GeneralRe: MDI Parent in C# Pin
BobJanova13-Sep-12 5:31
MemberBobJanova13-Sep-12 5:31 
AnswerRe: MDI Parent in C# Pin
Ingo13-Sep-12 5:15
MemberIngo13-Sep-12 5:15 
AnswerRe: MDI Parent in C# Pin
Pete O'Hanlon13-Sep-12 5:31
mvaPete O'Hanlon13-Sep-12 5:31 
AnswerRe: MDI Parent in C# Pin
BillWoodruff17-Sep-12 7:27
mveBillWoodruff17-Sep-12 7:27 
QuestionBackUp And Restore of SqlServer 2005 using C# Windows Application Pin
NABIN SEN12-Sep-12 20:14
MemberNABIN SEN12-Sep-12 20:14 
AnswerRe: BackUp And Restore of SqlServer 2005 using C# Windows Application Pin
Roger Wright12-Sep-12 21:28
professionalRoger Wright12-Sep-12 21:28 
QuestionFirst real C# program by C++ developer Pin
PapaGeek12-Sep-12 17:27
MemberPapaGeek12-Sep-12 17: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 21:21
professionalRoger Wright12-Sep-12 21:21 
GeneralRe: First real C# program by C++ developer Pin
BobJanova13-Sep-12 0:07
MemberBobJanova13-Sep-12 0:07 
GeneralRe: First real C# program by C++ developer Pin
jschell13-Sep-12 9:28
Memberjschell13-Sep-12 9:28 
AnswerRe: First real C# program by C++ developer Pin
V.12-Sep-12 21:30
professionalV.12-Sep-12 21:30 
AnswerRe: First real C# program by C++ developer Pin
Richard MacCutchan12-Sep-12 23:26
mveRichard MacCutchan12-Sep-12 23:26 
AnswerRe: First real C# program by C++ developer Pin
jschell13-Sep-12 9:59
Memberjschell13-Sep-12 9:59 
AnswerRe: First real C# program by C++ developer Pin
wizardzz13-Sep-12 11:46
Memberwizardzz13-Sep-12 11:46 
AnswerRe: First real C# program by C++ developer Pin
Alan Balkany13-Sep-12 12:10
MemberAlan Balkany13-Sep-12 12:10 
AnswerRe: First real C# program by C++ developer Pin
Alan Balkany13-Sep-12 12:44
MemberAlan Balkany13-Sep-12 12:44 
QuestionDynamic TimeSlots Pin
Member 941347212-Sep-12 9:34
MemberMember 941347212-Sep-12 9:34 
AnswerRe: Dynamic TimeSlots Pin
Pete O'Hanlon12-Sep-12 10:46
mvaPete O'Hanlon12-Sep-12 10:46 
QuestionSieve of Eratosthenes Pin
WebMaster12-Sep-12 5:23
MemberWebMaster12-Sep-12 5:23 
AnswerRe: Sieve of Eratosthenes Pin
fjdiewornncalwe12-Sep-12 5:31
professionalfjdiewornncalwe12-Sep-12 5:31 
AnswerRe: Sieve of Eratosthenes Pin
Manfred Rudolf Bihy12-Sep-12 5:36
professionalManfred Rudolf Bihy12-Sep-12 5:36 
GeneralRe: Sieve of Eratosthenes Pin
WebMaster12-Sep-12 5:39
MemberWebMaster12-Sep-12 5:39 
GeneralRe: Sieve of Eratosthenes Pin
Manfred Rudolf Bihy12-Sep-12 5:45
professionalManfred Rudolf Bihy12-Sep-12 5:45 
GeneralRe: Sieve of Eratosthenes Pin
WebMaster12-Sep-12 5:56
MemberWebMaster12-Sep-12 5: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.