marshalling
Marshal structure with integer references to C#
Hi I\'m trying to create and marshal the following structure from C# into C++ and maintain the linked reference.I\'m unsure how this structure should be defined in C#?In C++ the structure must look li[详细]
2023-04-09 10:17 分类:问答C# Define custom UnmanagedType for the MarshalAs attribute class
is it possible to define a custom UnmanagedType for the MarshalAs attribute class? Specifically I want to convert a long int unix time into a DateTime type. Something like this:[详细]
2023-04-09 07:32 分类:问答Class with builtin marshalling. Why are the field converters not working?
I have the following questions: Should the marshalling be placed in a class helper instead? Or is it quite OK to place it \"inside\" the class?[详细]
2023-04-09 06:41 分类:问答Can JAXB marshal by containment at first then marshal by @XmlIDREF for subsequent references?
I\'m wondering if it\'s possible to annotate my classes so that the first time the marshaller encounters an object, it generates an XML element of the appropriate type, but any subsequent reference to[详细]
2023-04-09 06:34 分类:问答Get ListView item text from other window
I want to make a little application that changes the default playback device in windows 7. The only solution was to interact with the Sound Applet. I succeeded to get the handle to the SysListView32 w[详细]
2023-04-08 22:15 分类:问答JAXB marshalling and unmarshalling CDATA
I have a requirement in which i have XML like this <programs> <program> <name>test1</name>[详细]
2023-04-08 15:33 分类:问答Passing an array of strings from managed C# to unmanaged function using P-Invoke
Is it possible to pass a string array from managed C# to an unmanaged function using P-Invoke? This works fine: 开发者_C百科[详细]
2023-04-08 06:08 分类:问答Generics and Marshal / UnMarshal. What am I missing here?
Better mention this : I\'m using Delphi XE2 - but XE or 2010 should do the trick too :-) This Question is now in Quality Central QC#99313 please vote it up :-)[详细]
2023-04-07 15:55 分类:问答SendMessage() doesn't work in one project
I tried to use this Watermark it does work correctly on my test project, but it doesn\'t work in our main project.[详细]
2023-04-07 08:53 分类:问答How to implement IMarshal for custom marshalling interface from out-of-proc server
I am trying to figure out how to implement custom marshalling for an out-of-proc COM server when it fires an event.The server implements the IConnectionPoint interface.One of the methods on the interf[详细]
2023-04-06 12:46 分类:问答