Click here to Skip to main content
15,902,938 members
Home / Discussions / C#
   

C#

 
AnswerRe: Returning primary key value from a FoxPro Table insert Pin
Xmen Real 2-Mar-09 6:11
professional Xmen Real 2-Mar-09 6:11 
Questionwhy I can't create setup for my application Pin
laziale2-Mar-09 4:23
laziale2-Mar-09 4:23 
AnswerRe: why I can't create setup for my application Pin
Xmen Real 2-Mar-09 6:06
professional Xmen Real 2-Mar-09 6:06 
GeneralRe: why I can't create setup for my application Pin
laziale2-Mar-09 6:32
laziale2-Mar-09 6:32 
GeneralRe: why I can't create setup for my application Pin
Xmen Real 2-Mar-09 6:34
professional Xmen Real 2-Mar-09 6:34 
GeneralRe: why I can't create setup for my application Pin
laziale2-Mar-09 6:59
laziale2-Mar-09 6:59 
GeneralRe: why I can't create setup for my application Pin
Dave Kreskowiak2-Mar-09 8:13
mveDave Kreskowiak2-Mar-09 8:13 
GeneralRe: why I can't create setup for my application Pin
laziale2-Mar-09 8:27
laziale2-Mar-09 8:27 
QuestionHow Can I automate the process of adding a webcam device to a C# video capture app. Pin
Jose_Gomez2-Mar-09 3:22
Jose_Gomez2-Mar-09 3:22 
QuestionWMI query doesnot return record for user having less previleges!! Pin
Cracked-Down2-Mar-09 3:02
Cracked-Down2-Mar-09 3:02 
QuestionRemote internet browsing? Pin
Member 46531982-Mar-09 2:28
Member 46531982-Mar-09 2:28 
AnswerRe: Remote internet browsing? Pin
Eddy Vluggen2-Mar-09 2:53
professionalEddy Vluggen2-Mar-09 2:53 
Questionprocess username Pin
shefa' isied2-Mar-09 2:21
shefa' isied2-Mar-09 2:21 
AnswerRe: process username Pin
Abhishek Sur2-Mar-09 3:42
professionalAbhishek Sur2-Mar-09 3:42 
QuestionImport a C++ class to C# Pin
lune122-Mar-09 2:19
lune122-Mar-09 2:19 
AnswerRe: Import a C++ class to C# Pin
Colin Angus Mackay2-Mar-09 2:22
Colin Angus Mackay2-Mar-09 2:22 
GeneralRe: Import a C++ class to C# Pin
lune122-Mar-09 2:27
lune122-Mar-09 2:27 
GeneralRe: Import a C++ class to C# Pin
Alan N2-Mar-09 3:41
Alan N2-Mar-09 3:41 
QuestionRe: Import a C++ class to C# Pin
0x3c02-Mar-09 5:02
0x3c02-Mar-09 5:02 
AnswerRe: Import a C++ class to C# Pin
Xmen Real 2-Mar-09 5:59
professional Xmen Real 2-Mar-09 5:59 
GeneralRe: Import a C++ class to C# Pin
0x3c02-Mar-09 6:52
0x3c02-Mar-09 6:52 
AnswerRe: Import a C++ class to C# Pin
Perisic, Aleksandar2-Mar-09 6:29
Perisic, Aleksandar2-Mar-09 6:29 
I usually create a bridge written in C++ managed which creates one managed class and namespace that could be later imported into C#, but underneath this managed C++ class works with that actual and normal C++ class any way it is expected to work with this class, either I compile them together or I import dll and call this class internally.

This bridge serves several good purposes: to test what actually I need in C# from that C++ class. Only those things pass the bridge. Second the bridge is an excellent place to check if parameters are passed correctly and if some of them have to be arranged differently: pointers, arrays... all need different treatment in C# and C++.

If you don't have this bridge, but you directly call a C++ procedure from C# then you have to think about this inside C# code every time you call a specific C++ function. And then if you want to use the same C++ class again, the same problem. With bridge you just import it and everything is tested.
QuestionFinding Process Path Pin
Lijo Rajan2-Mar-09 1:28
Lijo Rajan2-Mar-09 1:28 
AnswerRe: Finding Process Path [modified] Pin
ABitSmart2-Mar-09 2:10
ABitSmart2-Mar-09 2:10 
AnswerRe: Finding Process Path Pin
Luc Pattyn2-Mar-09 3:11
sitebuilderLuc Pattyn2-Mar-09 3:11 

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.