Click here to Skip to main content
16,011,754 members
Home / Discussions / C#
   

C#

 
QuestionHow to set a parameter field in .rdlc during design time Pin
selvakumar Panchatcharam22-Apr-07 23:57
selvakumar Panchatcharam22-Apr-07 23:57 
QuestionC# time to C++ (VS 6) time Pin
Stevo Z22-Apr-07 23:49
Stevo Z22-Apr-07 23:49 
AnswerRe: C# time to C++ (VS 6) time Pin
Christian Graus23-Apr-07 0:06
protectorChristian Graus23-Apr-07 0:06 
GeneralRe: C# time to C++ (VS 6) time Pin
Stevo Z23-Apr-07 0:15
Stevo Z23-Apr-07 0:15 
QuestionSerialization problem Pin
NaNg1524122-Apr-07 23:48
NaNg1524122-Apr-07 23:48 
QuestionHow to add sub columns with C#.net for Pocket PC Pin
urairat22-Apr-07 23:44
urairat22-Apr-07 23:44 
QuestionMissing something in an unmanaged C++ function call? Pin
jozsurf22-Apr-07 23:26
jozsurf22-Apr-07 23:26 
AnswerRe: Missing something in an unmanaged C++ function call? Pin
Luc Pattyn23-Apr-07 9:00
sitebuilderLuc Pattyn23-Apr-07 9:00 
Hi,

in C# a struct is a value type, but your native function expects a struct pointer,
hence a reference. Adding ref to your wrapper function Something may be sufficient
(depends on the kinds of members in your struct).

AccessViolation typically means some pointer is bad, in this case struct data is used
as a pointer...


In general, to get interop debugged, my advice is add logging code to both sides,
and reduce each problem to its simplest instance, then experiment if you dont
understand what is going on...

Smile | :)

Luc Pattyn

[My Articles]

GeneralRe: Missing something in an unmanaged C++ function call? Pin
jozsurf23-Apr-07 14:58
jozsurf23-Apr-07 14:58 
GeneralRe: Missing something in an unmanaged C++ function call? Pin
Luc Pattyn23-Apr-07 15:26
sitebuilderLuc Pattyn23-Apr-07 15:26 
GeneralRe: Missing something in an unmanaged C++ function call? Pin
jozsurf23-Apr-07 15:31
jozsurf23-Apr-07 15:31 
QuestionWrite to the Visual Studio Output window Pin
anderslundsgard22-Apr-07 22:48
anderslundsgard22-Apr-07 22:48 
AnswerRe: Write to the Visual Studio Output window Pin
Christian Graus22-Apr-07 22:54
protectorChristian Graus22-Apr-07 22:54 
GeneralRe: Write to the Visual Studio Output window Pin
anderslundsgard22-Apr-07 22:59
anderslundsgard22-Apr-07 22:59 
QuestionHow to replace colors in a bitmap Pin
dudedotnet22-Apr-07 21:14
dudedotnet22-Apr-07 21:14 
AnswerRe: How to replace colors in a bitmap Pin
Christian Graus22-Apr-07 22:39
protectorChristian Graus22-Apr-07 22:39 
GeneralRe: How to replace colors in a bitmap Pin
dudedotnet26-Apr-07 0:11
dudedotnet26-Apr-07 0:11 
GeneralRe: How to replace colors in a bitmap Pin
Christian Graus26-Apr-07 11:07
protectorChristian Graus26-Apr-07 11:07 
AnswerRe: How to replace colors in a bitmap Pin
Insincere Dave23-Apr-07 8:31
Insincere Dave23-Apr-07 8:31 
QuestionTopmost property not working properly Pin
jorgesalvador22-Apr-07 20:41
jorgesalvador22-Apr-07 20:41 
AnswerRe: Topmost property not working properly Pin
Christian Graus22-Apr-07 22:41
protectorChristian Graus22-Apr-07 22:41 
GeneralRe: Topmost property not working properly Pin
jorgesalvador22-Apr-07 22:58
jorgesalvador22-Apr-07 22:58 
QuestionFace detection algorithm? Pin
tuanlm7522-Apr-07 20:34
tuanlm7522-Apr-07 20:34 
AnswerRe: Face detection algorithm? Pin
Christian Graus22-Apr-07 22:44
protectorChristian Graus22-Apr-07 22:44 
QuestionXML Output Formatting with Formatting.Indented [modified] Pin
livez22-Apr-07 20:23
livez22-Apr-07 20: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.