Click here to Skip to main content
15,917,328 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unable to connect to service application from remote computer. [modified] Pin
teopau17-Nov-08 20:51
teopau17-Nov-08 20:51 
QuestionHow to connect mysql Pin
rose19617-Nov-08 19:34
rose19617-Nov-08 19:34 
AnswerRe: How to connect mysql Pin
N a v a n e e t h17-Nov-08 20:44
N a v a n e e t h17-Nov-08 20:44 
QuestionInsert a subreport within a subreport inCrystal reports using C# Pin
Rajeshgut17-Nov-08 18:41
Rajeshgut17-Nov-08 18:41 
AnswerRe: Insert a subreport within a subreport inCrystal reports using C# Pin
selcuks17-Nov-08 20:37
selcuks17-Nov-08 20:37 
QuestionSQL Report Ranking Pin
jatin.sabarmati17-Nov-08 14:15
jatin.sabarmati17-Nov-08 14:15 
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 
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 
kinar wrote:
However, doesn't that mean that my wrapper is required to use the PInvoke to use it?


No. In mixed mode C++/CLI your code is a first class citizen of both Managed and Native environments.

kinar wrote:
Or is it more of an issue that by using a mixed mode assembly, I can use the callback in the same way that I would from a standard C/C++ app and then I can expose some other methodology within the assembly to handle the .NET delegate reference that is set within the 3rd party .NET assembly?

Don't know what 3rd party .NET assembly you are talking about. Yes as I stated above. Using C++/CLI your assembly will publish .NET items to users of the assembly from the .NET platform. However internally you have Native C/C++ code access to any and all API's that you make visible by including the source or libraries same as with a pure Native source or library. All you have to account for is marshalling the memory which the .NET Base Class library provides mechansisms for doing so even that is simple.

kinar wrote:
Anyway, thanks for your help. I'm sure you've already spent far more time on this thread than you expected

Not a problem, you are welcome.


led mike

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.