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

Managed C++/CLI

 
Questionconversion Pin
rajniyadav1a1-Dec-10 19:09
rajniyadav1a1-Dec-10 19:09 
AnswerRe: conversion Pin
Ajay Vijayvargiya1-Dec-10 21:12
Ajay Vijayvargiya1-Dec-10 21:12 
Questionpythonqt scriptint & orting to lower version Pin
appollosputnik25-Nov-10 16:41
appollosputnik25-Nov-10 16:41 
AnswerRe: pythonqt scriptint & orting to lower version Pin
Richard MacCutchan25-Nov-10 22:09
mveRichard MacCutchan25-Nov-10 22:09 
QuestionDelegates in Managed C++ Pin
ptr_Electron24-Nov-10 3:06
ptr_Electron24-Nov-10 3:06 
AnswerRe: Delegates in Managed C++ Pin
Dave Doknjas24-Nov-10 11:34
Dave Doknjas24-Nov-10 11:34 
GeneralRe: Delegates in Managed C++ [modified] Pin
ptr_Electron24-Nov-10 17:00
ptr_Electron24-Nov-10 17:00 
QuestionI nead to pass an Interface from the C++ wrapper into a C# class Pin
Ole Morten Heien22-Nov-10 12:03
Ole Morten Heien22-Nov-10 12:03 
Folks..
I have created a wrapper project that exports two procedures that I pick up in my Win32 program created in something called Clarion for Windows. The wrapper class calls my C# objects and this works just fine. Problem is that my C# program neads different calls back to my Clarion Win32 program. For instance, my Win32 program has a function to generate new Customer ID's and the complexity of this routine is to much. Becides, I would really like to know if there is a way to do this. The connection between Clarion Win32 and C++ is by using a standard interface decleared in Clarion and passed into the exported function in C++. Problem is that I dont know how to call back to C++

Hers what I have:

Clarion(Win32) <=> C++ => C#

So Clarion can call C++ methods directly through the Interface, and therfor implicit Clarion can call .NET methods through this wrapper. But I nead the other way too.

I was hoping I could pass an Interface from C++ into my C# objects, maybe something like this:

MyNetClass::TakeCppInterface(ThisCppInterface);

I have posted on the MSDN, but only answer I got there was using MSIL or reflection, which i think is way over my head at the moment.
-----------------------------
Speaking nordic language?
Why not visiting irc.c-c.no and join #C# or #VisualBasic
-----------------------------

AnswerRe: I nead to pass an Interface from the C++ wrapper into a C# class Pin
Radhakrishnan G.14-Dec-10 19:52
Radhakrishnan G.14-Dec-10 19:52 
GeneralRe: I nead to pass an Interface from the C++ wrapper into a C# class Pin
Ole Morten Heien14-Dec-10 23:34
Ole Morten Heien14-Dec-10 23:34 
GeneralRe: I nead to pass an Interface from the C++ wrapper into a C# class Pin
Radhakrishnan G.17-Dec-10 2:31
Radhakrishnan G.17-Dec-10 2:31 
GeneralRe: I nead to pass an Interface from the C++ wrapper into a C# class Pin
Philippe Mori10-Mar-11 15:40
Philippe Mori10-Mar-11 15:40 
GeneralRe: I nead to pass an Interface from the C++ wrapper into a C# class Pin
Ole Morten Heien10-Mar-11 21:21
Ole Morten Heien10-Mar-11 21:21 
GeneralRe: I nead to pass an Interface from the C++ wrapper into a C# class Pin
Philippe Mori11-Mar-11 2:47
Philippe Mori11-Mar-11 2:47 
GeneralRe: I nead to pass an Interface from the C++ wrapper into a C# class Pin
Ole Morten Heien11-Mar-11 2:48
Ole Morten Heien11-Mar-11 2:48 
QuestionHow to Get Function argument names in mangle data? Pin
mathivanaan21-Nov-10 21:18
mathivanaan21-Nov-10 21:18 
AnswerRe: How to Get Function argument names in mangle data? Crosspost Pin
Richard MacCutchan21-Nov-10 22:21
mveRichard MacCutchan21-Nov-10 22:21 
QuestionHow to determine an inherited managed class in C++ [modified] Pin
Juri Loosme20-Nov-10 4:12
Juri Loosme20-Nov-10 4:12 
AnswerRe: How to determine an inherited managed class in C++ Pin
Nish Nishant20-Nov-10 5:55
sitebuilderNish Nishant20-Nov-10 5:55 
GeneralRe: How to determine an inherited managed class in C++ Pin
Juri Loosme20-Nov-10 6:25
Juri Loosme20-Nov-10 6:25 
GeneralRe: How to determine an inherited managed class in C++ Pin
Nish Nishant20-Nov-10 6:35
sitebuilderNish Nishant20-Nov-10 6:35 
AnswerRe: How to determine an inherited managed class in C++ Pin
Philippe Mori10-Mar-11 15:49
Philippe Mori10-Mar-11 15:49 
QuestionError C2691: 'int __gc[]' Pin
maklein9918-Nov-10 4:09
maklein9918-Nov-10 4:09 
QuestionUsing VC6 MFC DLLs in VS2008 Pin
Radhakrishnan G.2-Nov-10 2:49
Radhakrishnan G.2-Nov-10 2:49 
AnswerRe: Using VC6 MFC DLLs in VS2008 Pin
Nish Nishant2-Nov-10 3:03
sitebuilderNish Nishant2-Nov-10 3:03 

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.