Click here to Skip to main content
15,886,795 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: h Pin
Richard MacCutchan27-Oct-11 22:13
mveRichard MacCutchan27-Oct-11 22:13 
AnswerRe: My vote of 1 Pin
phil.o27-Oct-11 23:58
professionalphil.o27-Oct-11 23:58 
GeneralRe: My vote of 1 Pin
Richard MacCutchan28-Oct-11 0:47
mveRichard MacCutchan28-Oct-11 0:47 
GeneralRe: My vote of 1 Pin
phil.o28-Oct-11 2:08
professionalphil.o28-Oct-11 2:08 
QuestionHow to use Callback interface from unmanaged code in Managed C++ Pin
dadagiri12322-Oct-11 0:14
dadagiri12322-Oct-11 0:14 
AnswerRe: How to use Callback interface from unmanaged code in Managed C++ Pin
Adam Roderick J26-Oct-11 21:28
Adam Roderick J26-Oct-11 21:28 
GeneralRe: How to use Callback interface from unmanaged code in Managed C++ Pin
Richard MacCutchan26-Oct-11 23:02
mveRichard MacCutchan26-Oct-11 23:02 
AnswerRe: How to use Callback interface from unmanaged code in Managed C++ Pin
Bob Ciora16-Nov-11 0:59
Bob Ciora16-Nov-11 0:59 
Just pull out the useful part from the link.

http://blogs.microsoft.c.il/blogs/alon/archive/2007/05/29/Native-Callback.aspx

I genrally use method #4 because many of my callbacks are in the form of interface classes (e.g. "ICallback"). I create a "bridge" class (unmanaged class built in a managed dll) with an implementation of the unmanaged callback that marshals any parameters to the managed world, then calls a similar method on a gcroot'ed handle to a managed interface.
Bob Ciora

QuestionHow and which technology (.NET-WinForms,C++-MIDI MFC based) is the best to use for reading and writing COM Port data? Pin
glitteringsound11-Oct-11 21:55
glitteringsound11-Oct-11 21:55 
Questionprinter driver Pin
dufduf7-Oct-11 20:11
dufduf7-Oct-11 20:11 
AnswerRe: printer driver Pin
Luc Pattyn8-Oct-11 3:48
sitebuilderLuc Pattyn8-Oct-11 3:48 
Question[Need Help] some thing about output Pin
Mike@Shanghai3-Oct-11 22:58
Mike@Shanghai3-Oct-11 22:58 
AnswerRe: [Need Help] some thing about output Pin
Mike@Shanghai3-Oct-11 23:04
Mike@Shanghai3-Oct-11 23:04 
AnswerRe: [Need Help] some thing about output Pin
Mike@Shanghai3-Oct-11 23:49
Mike@Shanghai3-Oct-11 23:49 
GeneralRe: [Need Help] some thing about output Pin
Richard MacCutchan4-Oct-11 1:28
mveRichard MacCutchan4-Oct-11 1:28 
GeneralRe: [Need Help] some thing about output Pin
Mike@Shanghai4-Oct-11 2:05
Mike@Shanghai4-Oct-11 2:05 
QuestionHow can program tell that itself is running as admin? Pin
Brandon-X120001-Oct-11 5:40
Brandon-X120001-Oct-11 5:40 
AnswerRe: How can program tell that itself is running as admin? Pin
Luc Pattyn1-Oct-11 5:58
sitebuilderLuc Pattyn1-Oct-11 5:58 
GeneralRe: How can program tell that itself is running as admin? Pin
Brandon-X120001-Oct-11 6:13
Brandon-X120001-Oct-11 6:13 
AnswerRe: How can program tell that itself is running as admin? Pin
Luc Pattyn1-Oct-11 6:31
sitebuilderLuc Pattyn1-Oct-11 6:31 
AnswerRe: How can program tell that itself is running as admin? Pin
Richard MacCutchan1-Oct-11 6:02
mveRichard MacCutchan1-Oct-11 6:02 
GeneralRe: How can program tell that itself is running as admin? Pin
Brandon-X120001-Oct-11 6:13
Brandon-X120001-Oct-11 6:13 
GeneralRe: How can program tell that itself is running as admin? Pin
Richard MacCutchan1-Oct-11 6:36
mveRichard MacCutchan1-Oct-11 6:36 
GeneralHandle Leak when Compiling with /clr Option, and _beginthread. Pin
Mike Doner29-Sep-11 6:49
Mike Doner29-Sep-11 6:49 
QuestionShow text after press a button Pin
antonio34327-Sep-11 8:27
antonio34327-Sep-11 8:27 

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.