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

Managed C++/CLI

 
GeneralRe: c++/cli define new explicit implementation of a sealed method Pin
John Schroedl12-Oct-12 2:29
professionalJohn Schroedl12-Oct-12 2:29 
GeneralRe: c++/cli define new explicit implementation of a sealed method Pin
Marius Bancila11-Oct-12 21:35
professionalMarius Bancila11-Oct-12 21:35 
GeneralRe: c++/cli define new explicit implementation of a sealed method Pin
John Schroedl12-Oct-12 2:34
professionalJohn Schroedl12-Oct-12 2:34 
GeneralRe: c++/cli define new explicit implementation of a sealed method Pin
John Schroedl12-Oct-12 2:38
professionalJohn Schroedl12-Oct-12 2:38 
Questionhow can we avoid error D8016 ? Pin
litu kumar8-Oct-12 23:18
Memberlitu kumar8-Oct-12 23:18 
AnswerRe: how can we avoid error D8016 ? Pin
Richard MacCutchan9-Oct-12 0:18
mveRichard MacCutchan9-Oct-12 0:18 
GeneralRe: how can we avoid error D8016 ? Pin
litu kumar7-Nov-12 21:49
Memberlitu kumar7-Nov-12 21:49 
GeneralRe: how can we avoid error D8016 ? Pin
Freak3026-Nov-12 3:11
MemberFreak3026-Nov-12 3:11 
You may need to create a mixed mode wrapper dll. Create a new CLR class library. Inside that create a new unmanaged class (without the ref keyword) containing static functions. Expose it to your COM dll with the usual unmanaged __declspec macro declaration. Add a Framework reference to the managed dll you want to use.

Make sure the wrapper cpp file uses clr (should be default for managed dll, but check via right-click on cpp file, Properties, C/C++, General, Common Language Runtime support).

You could try to set the same option for one of the cpp files in your COM dll, if it's built in one of the newer VS versions. But chances are it won't work that way because of the incompatibilities you initially mentioned.
QuestionChild dialog shadow remains Pin
shivareaj5-Oct-12 7:30
Membershivareaj5-Oct-12 7:30 
AnswerRe: Child dialog shadow remains Pin
Richard MacCutchan5-Oct-12 22:35
mveRichard MacCutchan5-Oct-12 22:35 
GeneralRe: Child dialog shadow remains Pin
shivareaj6-Oct-12 6:02
Membershivareaj6-Oct-12 6:02 
GeneralRe: Child dialog shadow remains Pin
Richard MacCutchan6-Oct-12 6:07
mveRichard MacCutchan6-Oct-12 6:07 
GeneralRe: Child dialog shadow remains Pin
shivareaj6-Oct-12 17:55
Membershivareaj6-Oct-12 17:55 
GeneralRe: Child dialog shadow remains Pin
Richard MacCutchan6-Oct-12 21:30
mveRichard MacCutchan6-Oct-12 21:30 
QuestionHow to call manged api from unmanaged code? Pin
litu kumar4-Oct-12 3:25
Memberlitu kumar4-Oct-12 3:25 
AnswerRe: How to call manged api from unmanaged code? Pin
Richard Andrew x645-Oct-12 9:30
professionalRichard Andrew x645-Oct-12 9:30 
GeneralRe: How to call manged api from unmanaged code? Pin
litu kumar15-Oct-12 2:13
Memberlitu kumar15-Oct-12 2:13 
GeneralRe: How to call manged api from unmanaged code? Pin
Richard Andrew x6415-Oct-12 6:46
professionalRichard Andrew x6415-Oct-12 6:46 
QuestionHow to create CLI Interface to access .net API from C++ code? Pin
litu kumar3-Oct-12 0:19
Memberlitu kumar3-Oct-12 0:19 
Questionoperato precendance question Pin
Amrit Agr1-Oct-12 22:04
MemberAmrit Agr1-Oct-12 22:04 
AnswerRe: operato precendance question Pin
Richard MacCutchan2-Oct-12 2:58
mveRichard MacCutchan2-Oct-12 2:58 
AnswerRe: operato precendance question Pin
jschell2-Oct-12 8:51
Memberjschell2-Oct-12 8:51 
AnswerRe: operato precendance question Pin
skrtbhtngr15-Nov-12 0:39
Memberskrtbhtngr15-Nov-12 0:39 
QuestionLarge integer class please help Pin
Msemler9328-Sep-12 1:29
MemberMsemler9328-Sep-12 1:29 
AnswerRe: Large integer class please help Pin
Richard MacCutchan28-Sep-12 2:05
mveRichard MacCutchan28-Sep-12 2:05 

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.