Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
AnswerRe: SQL Report Ranking Pin
Christian Graus17-Nov-08 15:18
protectorChristian Graus17-Nov-08 15:18 
Questionxml Pin
arkiboys17-Nov-08 11:12
arkiboys17-Nov-08 11:12 
QuestionRe: xml Pin
nelsonpaixao17-Nov-08 12:39
nelsonpaixao17-Nov-08 12:39 
AnswerRe: xml Pin
Christian Graus17-Nov-08 14:49
protectorChristian Graus17-Nov-08 14:49 
AnswerRe: xml Pin
Brij17-Nov-08 17:13
mentorBrij17-Nov-08 17:13 
GeneralRe: xml Pin
arkiboys18-Nov-08 5:09
arkiboys18-Nov-08 5:09 
QuestionProblem with html parsing using mshtml. offsetHeight, offsetWidth, offsetLeft and offsetTop (properties of IHTMLElement interface) always return zero. Pin
Terasbetoni17-Nov-08 10:41
Terasbetoni17-Nov-08 10:41 
Questionfunction pointers/delegates/callbacks/managed/unmanaged code with c# Pin
kinar17-Nov-08 9:03
kinar17-Nov-08 9:03 
I've got a C dll which has a SetCallback function and I need to implement this from within a .NET C# app.

Basicly the C# app needs to pass a function pointer to the C dll so that the dll can "do stuff" and then notify the C# app that it is complete by calling the function.

I came across this[^] article and was thinking "this is exactly what I want to do. Of course I had some problems implementing it (couple typos in the article as detailed in the comments. But as I was reading the comments, I got down to the comments by leppie and Heath Stewart indicating that it isn't the proper way to do this.

So now, with all that said....my question is...Whats the proper or "right" way to call a Function within a .NET C# app from within an unmanaged C dll using a function pointer?
AnswerRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
led mike17-Nov-08 9:36
led mike17-Nov-08 9:36 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
kinar17-Nov-08 10:10
kinar17-Nov-08 10:10 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
led mike17-Nov-08 11:02
led mike17-Nov-08 11:02 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
kinar18-Nov-08 3:20
kinar18-Nov-08 3:20 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
led mike18-Nov-08 5:41
led mike18-Nov-08 5:41 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
kinar18-Nov-08 7:53
kinar18-Nov-08 7:53 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
led mike18-Nov-08 8:22
led mike18-Nov-08 8:22 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
kinar18-Nov-08 9:11
kinar18-Nov-08 9:11 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
led mike18-Nov-08 10:16
led mike18-Nov-08 10:16 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
kinar18-Nov-08 11:43
kinar18-Nov-08 11:43 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
led mike18-Nov-08 11:57
led mike18-Nov-08 11:57 
Questionscreen position of control Pin
Eli Nurman17-Nov-08 8:57
Eli Nurman17-Nov-08 8:57 
AnswerRe: screen position of control Pin
Samer Aburabie17-Nov-08 10:54
Samer Aburabie17-Nov-08 10:54 
QuestionHow to list Com Port usage and list of devices using those ports Pin
serkan197717-Nov-08 8:33
serkan197717-Nov-08 8:33 
AnswerRe: How to list Com Port usage and list of devices using those ports Pin
Samer Aburabie17-Nov-08 11:02
Samer Aburabie17-Nov-08 11:02 
GeneralRe: How to list Com Port usage and list of devices using those ports Pin
Rahul.RK17-Nov-08 20:03
Rahul.RK17-Nov-08 20:03 
Questioni am from greece and i want to write a file in greeks with data` from a textbox Pin
dianikol17-Nov-08 8:06
dianikol17-Nov-08 8:06 

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.