No announcements
Found 3562808 threads
-
0 Votes
c# Callback from unmanaged DLL: InvalidFunctionPointerInDelegate was detected
After playing a little with MyStruct definition I discovered that data returned from callback was not correctly marshalled.Answered | 2 Replies | 6575 Views | Created by mark_555 - Thursday, March 15, 2012 3:57 AM | Last reply by mark_555 - Friday, March 16, 2012 11:44 PM -
2 Votes
garbage collection on callback from unmanaged dll
The GC might not see unmanaged code referencing it.Answered | 11 Replies | 6171 Views | Created by Ken Ypp - Tuesday, November 2, 2010 10:24 PM | Last reply by Ken Ypp - Friday, November 5, 2010 10:13 PM -
0 Votes
unmanaged dll making a callback to c# method
That's a useful tool, but I think it only converts from managed to unmanaged.Answered | 6 Replies | 3565 Views | Created by C_ nb - Wednesday, November 5, 2008 9:14 AM | Last reply by C_ nb - Friday, November 7, 2008 8:08 AM -
0 Votes
managed code and unmanaged code
What Is Unmanaged Code?Answered | 4 Replies | 8128 Views | Created by Devendra Dew - Tuesday, March 20, 2012 9:07 PM | Last reply by Kris444 - Wednesday, March 21, 2012 11:33 AM -
8 Votes
Debug unmanaged code from C#
I tried these suggestions and still couldn't step into unmanaged code until I noticed that the .PDB file was out of date, and updated it.Answered | 4 Replies | 22085 Views | Created by Sylvain Boissé - Thursday, June 26, 2008 4:32 PM | Last reply by kpradeepjain - Thursday, June 10, 2010 9:13 AM -
0 Votes
app. exits when callback received from unmanaged code
I am not sure if the automatic marshalling of the function pointer works but in any case you could do it by hand with the Marshal ...Answered | 2 Replies | 5585 Views | Created by teleki - Tuesday, March 4, 2008 5:44 PM | Last reply by Feng Chen - Thursday, March 6, 2008 3:49 AM -
0 Votes
Catch Unhandled exceptions in unmanaged code
Will it help if I invoke SetUnhandledExceptionFilter indirectly by invoking a method in win32 dll from the managed code?Answered | 9 Replies | 8828 Views | Created by void Func - Wednesday, November 4, 2009 3:23 AM | Last reply by Gubo - Wednesday, December 16, 2009 3:57 PM -
0 Votes
.Net and unmanaged dll -> memory problems
ok, problem solved, it was caused because i've been declaring the delegate locally in the same sub where I called the InstallHook in the DLL (which set the ...Answered | 2 Replies | 4675 Views | Created by LQBWEB - Saturday, November 12, 2011 11:50 PM | Last reply by LQBWEB - Sunday, November 13, 2011 1:13 AM -
1 Votes
exit app by source code without pressing the button
If you want to exit app by code you can use Application.Current.Terminate();Answered | 2 Replies | 785 Views | Created by estmob - Tuesday, November 25, 2014 4:52 AM | Last reply by sharmi04 - Tuesday, November 25, 2014 6:32 AM -
6 Votes
Code metrics for unmanaged C++ code?
+1 for code metrics for unmanaged codeAnswered | 28 Replies | 38228 Views | Created by Anchy - Wednesday, October 8, 2008 10:15 AM | Last reply by Harry Martyrossian - Friday, November 9, 2012 4:44 AM -
2 Votes
Calling .NET delegates from unmanaged code - ref / out params
Thanks for the link. this seems to be a generic quirk of DynamicInvoke - not just when called from native code.Answered | 9 Replies | 3148 Views | Created by Yiannis Spyridakis - Friday, January 25, 2013 10:16 PM | Last reply by Yiannis Spyridakis - Tuesday, January 29, 2013 11:27 AM -
1 Votes
Windows store app - web callback URL
The callback needs to be a fixed IP address so as to receive the SMS messages originating from the service to which you're connecting.Answered | 10 Replies | 1893 Views | Created by kalel111 - Thursday, January 9, 2014 8:31 AM | Last reply by Matt Small - Wednesday, January 15, 2014 3:29 PM -
0 Votes
Hosting a .NET control into an MFC unmanaged app
When you say you "calling a C++ managed dll wrapper", surely external interface of this DLL cannot be managed, or your unmanaged application could not ...Answered | 9 Replies | 1780 Views | Created by Daniel Siran - Thursday, November 5, 2015 5:54 PM | Last reply by davewilk - Monday, November 9, 2015 10:14 PM -
0 Votes
Wait for function from managed thread in unmanaged code (C++ and C++/CLI)
To be more specific, I am creating App class from WPF project (it is application class created by default from WPF project wizard), which is transformed ...Answered | 11 Replies | 1784 Views | Created by Striebrovlas - Monday, September 23, 2019 2:38 PM | Last reply by Striebrovlas - Monday, October 7, 2019 6:52 PM -
0 Votes
How does clr knows whether a code is a managed code or unmanaged code??
- So when the .Net Farmework starts up (from a call of the application!)Answered | 6 Replies | 2790 Views | Created by sdfgfdgfd - Tuesday, March 6, 2012 12:46 PM | Last reply by sdfgfdgfd - Tuesday, March 6, 2012 6:22 PM -
0 Votes
Garbage Collector and unmanaged classes?
Unmanaged memory always stays put.Answered | 1 Replies | 3098 Views | Created by high6 - Saturday, October 3, 2009 12:02 PM | Last reply by nobugz - Saturday, October 3, 2009 1:38 PM -
0 Votes
P/Invoke - C++ callback from C#
Otherwise there will be an error when the managed callback function is invoked from unmanaged code.Answered | 2 Replies | 15396 Views | Created by S_Banks - Thursday, November 3, 2011 12:44 PM | Last reply by S_Banks - Friday, November 4, 2011 8:44 AM -
0 Votes
Disassembling unmanaged code
You'd have to ask the author of the CopyToGroupByID method to provide you with the source code.Answered | 1 Replies | 3552 Views | Created by newMTbie - Thursday, July 9, 2009 3:01 PM | Last reply by David M Morton - Thursday, July 9, 2009 3:05 PM -
1 Votes
Remote debug unmanaged C++ component from C# app
the C# project was built using debug configuration + enabled debugging of unmanaged code.Answered | 3 Replies | 5704 Views | Created by MartinDOrtiz - Monday, June 7, 2010 11:56 AM | Last reply by martin douglas ortiz - Monday, June 14, 2010 8:16 PM -
0 Votes
How to handle an event generated from managed code in unmanaged code
For me, it's clear that your problem is first with publishing events from the C# code.Answered | 8 Replies | 2208 Views | Created by Ansh84 - Tuesday, April 2, 2013 10:02 PM | Last reply by d'AJBR - Friday, April 5, 2013 5:01 AM - Items 1 to 20 of 3562808 Next ›
No announcements