No announcements
Found 2268321 threads
-
0 Votes
Is it possible to marshal DrawingContext to native code
"is it right that DrawingContext has underlying Direct2D ID2D1DeviceContext and ID2D1RenderTarget?Answered | 1 Replies | 548 Views | Created by Dmitriano1 - Tuesday, June 17, 2014 9:53 AM | Last reply by Mike Danes - Tuesday, June 17, 2014 11:47 AM -
0 Votes
Marshal a C# struct to native C++
I have what I think should be a pretty straightforward marshalling situation, but it just isn't working as expected.Answered | 2 Replies | 5899 Views | Created by KellyInSeattle - Thursday, April 7, 2011 9:21 PM | Last reply by KellyInSeattle - Friday, April 8, 2011 1:47 PM -
0 Votes
Is that possible to collect code coverage for Native C++ code by Coded-UI test?
Please check here - http://blogs.msdn.com/cellfish/archive/2008/11/16/native-c-code-coverage-reports-using-visual-studio-2008-team-system.aspx Please mark ...Answered | 1 Replies | 5334 Views | Created by Zhang Pengfei - Monday, May 17, 2010 3:31 AM | Last reply by Vishnu [MSFT] - Monday, May 17, 2010 3:15 PM -
0 Votes
Is it possible to marshal IUIAutomationElement to a different process?
Are you marshalling with the MSHCTX_LOCAL flag?Answered | 6 Replies | 5332 Views | Created by najaryan - Friday, November 5, 2010 2:17 PM | Last reply by najaryan - Wednesday, November 17, 2010 7:07 AM -
2 Votes
Event from native C++ code
Using Marshal::GetFunctionPointerForDelegate, you can obtain a function pointer that can be invoked from native code.Answered | 2 Replies | 872 Views | Created by Gerhard - Friday, July 1, 2016 10:49 AM | Last reply by Viorel_ - Monday, July 4, 2016 8:21 AM -
0 Votes
CLI Marshalling Assert
Thank you for taking the time to answer my question, the source code you provided was most helpful.Answered | 2 Replies | 4650 Views | Created by Diabloice - Monday, April 26, 2010 11:15 AM | Last reply by Diabloice - Wednesday, May 5, 2010 9:04 PM -
0 Votes
Marshal
I'm not sure if LPARAM is defined as long: #define PARAM long.LPBOOL is defined as long .So when you can use int32 to marshal the data.Answered | 8 Replies | 3890 Views | Created by Khayralla AL-Athari - Friday, December 12, 2008 2:01 AM | Last reply by Khayralla AL-Athari - Thursday, December 25, 2008 5:39 PM -
1 Votes
what is marshalling
From Wikipedia: Marshalling "is the process of transforming the memory representation of an object to a data format suitable for storage or transmission.Answered | 4 Replies | 2897 Views | Created by It_s Meee - Tuesday, January 5, 2010 6:55 PM | Last reply by petercrab - Tuesday, January 5, 2010 7:04 PM -
0 Votes
Marshall a pointer to C#?
There seems to be no real way to marshal a C++ class type unfortunately.Answered | 5 Replies | 768 Views | Created by LKeene - Thursday, March 16, 2017 9:40 PM | Last reply by LKeene - Monday, April 3, 2017 8:38 PM -
0 Votes
Marshalling char[][]
Try the default marshalling: [DllImport("MyDll.dll")] static extern void func(sbyte[,] ...Answered | 1 Replies | 1751 Views | Created by olelukoyya - Tuesday, March 5, 2013 1:03 AM | Last reply by Viorel_ - Tuesday, March 5, 2013 8:00 AM -
0 Votes
Marshalling problem
If you can't change the signature of the native method (e.g. it's 3rd party) try this: 1.Answered | 3 Replies | 4135 Views | Created by win_ce - Thursday, April 14, 2011 11:42 AM | Last reply by Ilya Tumanov - Thursday, April 14, 2011 8:19 PM -
0 Votes
Question about marshalling and byte array
The runtime won't move an item in memory during a marshal call, so it's safe.Answered | 3 Replies | 2437 Views | Created by Vincent Rich - Thursday, July 12, 2012 4:02 PM | Last reply by Reed Copsey, Jr - Friday, July 13, 2012 5:01 PM -
0 Votes
dot net to Native code
Never tested them: - .NET Native -Answered | 4 Replies | 2510 Views | Created by Sandeep Ghadmode - Wednesday, August 26, 2020 11:05 AM | Last reply by Stefan Hoffmann - Tuesday, September 8, 2020 9:51 AM -
1 Votes
How to marshall std::function template in C# from C++(Nativ)
The code given below is a structure that i want to marshal in the C# .Answered | 1 Replies | 2524 Views | Created by Yogender Solanki - Saturday, July 5, 2014 9:14 PM | Last reply by SimonRev - Saturday, July 5, 2014 10:11 PM -
5 Votes
GetThreadName in native code
Welcome to the All-In-One Code Framework!Answered | 4 Replies | 7895 Views | Created by Fredrik Orderud (GE) - Wednesday, November 25, 2009 2:33 PM | Last reply by Hongye Sun - MSFT - Friday, November 27, 2009 9:41 AM -
0 Votes
Memory management when marshaling strings for unmanaged code
For BSTR value in native side and IntPtr value in managed side, we can check memory values by the addresses they save.Answered | 1 Replies | 5028 Views | Created by steveo225 - Thursday, March 5, 2009 8:00 PM | Last reply by Michael Sun [MSFT] - Tuesday, March 10, 2009 1:29 PM -
1 Votes
Marshalling a NULL pointer
To copy, you would want to use the Marshall class.Answered | 12 Replies | 11873 Views | Created by Peter_MLT - Thursday, April 16, 2009 2:01 PM | Last reply by alleyes - Thursday, April 30, 2009 3:34 PM -
0 Votes
Marshalling problem in x64 mode
Yes I am able to load C++ DLL from this sample code provided from the above link.Answered | 8 Replies | 7481 Views | Created by Saravana Kumar Arumugam - Friday, January 7, 2011 5:10 PM | Last reply by Thomas Scheidegger Dev - Wednesday, January 12, 2011 8:14 AM -
0 Votes
Marshalling nested structs from C to C#
Here, the memory is allocated by managed code and filled by unmanaged code.Answered | 5 Replies | 3933 Views | Created by Nagesh83 - Friday, September 21, 2012 3:34 PM | Last reply by Lim Bio Liong - Thursday, September 27, 2012 3:16 PM -
0 Votes
How to Marshall an array of structs
I can't seem to figure out how to marshall an array of structures.Answered | 2 Replies | 3949 Views | Created by glavian2009 - Friday, December 7, 2012 3:43 AM | Last reply by Mike Danes - Friday, December 7, 2012 8:16 AM - Items 1 to 20 of 2268321 Next ›
No announcements