Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# GUI Controlling An External Device Pin
OriginalGriff29-Nov-12 8:09
mveOriginalGriff29-Nov-12 8:09 
GeneralRe: C# GUI Controlling An External Device Pin
C-P-User-329-Nov-12 9:27
C-P-User-329-Nov-12 9:27 
GeneralRe: C# GUI Controlling An External Device Pin
OriginalGriff29-Nov-12 20:22
mveOriginalGriff29-Nov-12 20:22 
GeneralRe: C# GUI Controlling An External Device Pin
C-P-User-330-Nov-12 4:38
C-P-User-330-Nov-12 4:38 
GeneralRe: C# GUI Controlling An External Device Pin
C-P-User-329-Nov-12 6:58
C-P-User-329-Nov-12 6:58 
GeneralRe: C# GUI Controlling An External Device Pin
OriginalGriff29-Nov-12 8:04
mveOriginalGriff29-Nov-12 8:04 
QuestionC++ to C# Translation Pin
GenJerDan28-Nov-12 10:37
GenJerDan28-Nov-12 10:37 
AnswerRe: C++ to C# Translation Pin
Garth J Lancaster28-Nov-12 12:22
professionalGarth J Lancaster28-Nov-12 12:22 
Luc (Pattyn) had a nice article on 'P/Invoke' that Ive found useful .. http://www.perceler.com/articles1.php?art=pinvoke1[^]

Im sure there used to be some automated tools out there that would assist in converting function prototypes (c++) into their C# .NET equivalent, but cant find them right now

I had a similar issue, needing to use PGP SDK (Commercial) from C# - I ended up with essentially 3 layers :-

a) Interop Layer
b) C++ DLL exposing/combining lower level PGP SDK functions into higher functions - for example, the encrypt_file procedure uses key management functions, encrypt functions from the SDK
c) the PGP SDK DLL

It all depends on what functionality you need to expose from your DLL how you 'wrap it'

There's another approach, but I havnt used it which is c++/CLI
GeneralRe: C++ to C# Translation Pin
GenJerDan28-Nov-12 14:14
GenJerDan28-Nov-12 14:14 
AnswerRe: C++ to C# Translation Pin
Espen Harlinn28-Nov-12 12:39
professionalEspen Harlinn28-Nov-12 12:39 
GeneralRe: C++ to C# Translation Pin
GenJerDan28-Nov-12 14:11
GenJerDan28-Nov-12 14:11 
GeneralRe: C++ to C# Translation Pin
Espen Harlinn28-Nov-12 22:00
professionalEspen Harlinn28-Nov-12 22:00 
AnswerRe: C++ to C# Translation Pin
V.28-Nov-12 21:39
professionalV.28-Nov-12 21:39 
AnswerRe: C++ to C# Translation Pin
David Knechtges29-Nov-12 2:55
David Knechtges29-Nov-12 2:55 
QuestionSave data from Unbound C# DataGridView to Sql Server and then Bind Pin
ahmed_one28-Nov-12 0:59
ahmed_one28-Nov-12 0:59 
QuestionError: Interfaces cannot contain fields Pin
Joni_7827-Nov-12 23:43
Joni_7827-Nov-12 23:43 
AnswerRe: Error: Interfaces cannot contain fields Pin
Richard MacCutchan27-Nov-12 23:51
mveRichard MacCutchan27-Nov-12 23:51 
GeneralRe: Error: Interfaces cannot contain fields Pin
Joni_7828-Nov-12 0:03
Joni_7828-Nov-12 0:03 
AnswerRe: Error: Interfaces cannot contain fields Pin
Pete O'Hanlon28-Nov-12 0:06
mvePete O'Hanlon28-Nov-12 0:06 
GeneralRe: Error: Interfaces cannot contain fields Pin
Joni_7828-Nov-12 0:28
Joni_7828-Nov-12 0:28 
GeneralRe: Error: Interfaces cannot contain fields Pin
Joni_7828-Nov-12 0:52
Joni_7828-Nov-12 0:52 
GeneralRe: Error: Interfaces cannot contain fields Pin
Pete O'Hanlon28-Nov-12 1:08
mvePete O'Hanlon28-Nov-12 1:08 
GeneralAbout URL Pin
Varsha R27-Nov-12 20:42
Varsha R27-Nov-12 20:42 
GeneralRe: About URL Pin
Pete O'Hanlon27-Nov-12 20:52
mvePete O'Hanlon27-Nov-12 20:52 
GeneralRe: About URL Pin
girishru12328-Nov-12 22:23
girishru12328-Nov-12 22:23 

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.