Click here to Skip to main content
       

Managed C++/CLI

 
Questionhow can we avoid error D8016 ? Pinmemberlitu kumar8-Oct-12 23:18 
AnswerRe: how can we avoid error D8016 ? PinmvpRichard MacCutchan9-Oct-12 0:18 
There is no sample code for your problem. The message is quite clear you cannot mix managed and unmanaged code in the same project this way. You need to split it into two projects, one which is normal unmanaged C++ and one which is managed and uses the /clr option. Calling Managed Code from Unmanaged Code and vice-versa[^] is a CodeProject article that will help you.
One of these days I'm going to think of a really clever signature.

GeneralRe: how can we avoid error D8016 ? Pinmemberlitu kumar7-Nov-12 21:49 
GeneralRe: how can we avoid error D8016 ? PinmemberFreak3026-Nov-12 3:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 18 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid