Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
AnswerRe: need an article for found difference between csharp and vb. Pin
Colin Angus Mackay11-May-07 13:41
Colin Angus Mackay11-May-07 13:41 
AnswerRe: need an article for found difference between csharp and vb. Pin
Christian Graus12-May-07 0:46
protectorChristian Graus12-May-07 0:46 
AnswerRe: need an article for found difference between csharp and vb. Pin
Daniel Grunwald13-May-07 2:33
Daniel Grunwald13-May-07 2:33 
Questioncall c# from managed c++ dll Pin
donovan.solms11-May-07 11:42
donovan.solms11-May-07 11:42 
AnswerRe: call c# from managed c++ dll Pin
Luc Pattyn11-May-07 12:12
sitebuilderLuc Pattyn11-May-07 12:12 
GeneralRe: call c# from managed c++ dll Pin
donovan.solms11-May-07 12:16
donovan.solms11-May-07 12:16 
GeneralRe: call c# from managed c++ dll Pin
donovan.solms11-May-07 12:51
donovan.solms11-May-07 12:51 
GeneralRe: call c# from managed c++ dll Pin
Luc Pattyn11-May-07 12:57
sitebuilderLuc Pattyn11-May-07 12:57 
Hi,

if your app is basically a C# program that calls a C++ dll, and that dll needs to
call back some method in the C# exe, then AFAIK you need to pass a delegate and use it
as a function pointer (or whatever it is called nowadays) in the C++ part.
Since the delegate type must be known to both the exe and the dll, it seems it must be
defined in the dll (again I dont know the details).

A more general approach would be to create an additional dll that holds the C# code
that is needed by both the C# main part and the C++ dll. Doing so allows the
C++ project (and the main C# part) to add a reference to the new C# dll.

Smile | :)

Luc Pattyn

[My Articles]

QuestionScrollbar Pin
ikily11-May-07 11:19
ikily11-May-07 11:19 
QuestionC# web service and memory space Pin
LCI11-May-07 9:53
LCI11-May-07 9:53 
QuestionExtracting text from an embedded browser control Pin
EPallis11-May-07 9:16
EPallis11-May-07 9:16 
Questioncalling parent MDI control througth control on child form Pin
Neo_Shehpar11-May-07 8:25
Neo_Shehpar11-May-07 8:25 
AnswerRe: calling parent MDI control througth control on child form Pin
Abisodun11-May-07 14:53
Abisodun11-May-07 14:53 
QuestionHow to bind ArrayList with DataGridView ? Pin
Harminder Singh11-May-07 8:20
Harminder Singh11-May-07 8:20 
Questionhow to run commandLine that uses cmd.exe in C# Pin
pnpfriend11-May-07 7:38
pnpfriend11-May-07 7:38 
AnswerRe: how to run commandLine that uses cmd.exe in C# Pin
Giorgi Dalakishvili11-May-07 7:52
mentorGiorgi Dalakishvili11-May-07 7:52 
GeneralRe: how to run commandLine that uses cmd.exe in C# Pin
pnpfriend11-May-07 8:23
pnpfriend11-May-07 8:23 
GeneralRe: how to run commandLine that uses cmd.exe in C# Pin
Giorgi Dalakishvili11-May-07 8:28
mentorGiorgi Dalakishvili11-May-07 8:28 
GeneralRe: how to run commandLine that uses cmd.exe in C# Pin
pnpfriend11-May-07 9:11
pnpfriend11-May-07 9:11 
GeneralRe: how to run commandLine that uses cmd.exe in C# Pin
Giorgi Dalakishvili11-May-07 9:16
mentorGiorgi Dalakishvili11-May-07 9:16 
GeneralRe: how to run commandLine that uses cmd.exe in C# Pin
pnpfriend11-May-07 9:50
pnpfriend11-May-07 9:50 
GeneralRe: how to run commandLine that uses cmd.exe in C# Pin
Giorgi Dalakishvili11-May-07 9:56
mentorGiorgi Dalakishvili11-May-07 9:56 
QuestionMath Question Pin
Mark0611-May-07 7:28
Mark0611-May-07 7:28 
AnswerRe: Math Question Pin
Miszou11-May-07 7:34
Miszou11-May-07 7:34 
GeneralRe: Math Question Pin
Mark0611-May-07 7:40
Mark0611-May-07 7:40 

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.