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

Managed C++/CLI

 
GeneralRe: String pass by reference Pin
carlo.andreoli5-Oct-09 2:20
carlo.andreoli5-Oct-09 2:20 
QuestionDual Linkage Possible with Managed DLL? Pin
Richard Andrew x6430-Sep-09 13:13
professionalRichard Andrew x6430-Sep-09 13:13 
AnswerRe: Dual Linkage Possible with Managed DLL? Pin
Luc Pattyn30-Sep-09 13:30
sitebuilderLuc Pattyn30-Sep-09 13:30 
GeneralRe: Dual Linkage Possible with Managed DLL? Pin
Richard Andrew x6430-Sep-09 13:35
professionalRichard Andrew x6430-Sep-09 13:35 
GeneralRe: Dual Linkage Possible with Managed DLL? Pin
Luc Pattyn30-Sep-09 13:45
sitebuilderLuc Pattyn30-Sep-09 13:45 
AnswerRe: Dual Linkage Possible with Managed DLL? Pin
N a v a n e e t h30-Sep-09 17:19
N a v a n e e t h30-Sep-09 17:19 
GeneralRe: Dual Linkage Possible with Managed DLL? Pin
Richard Andrew x6430-Sep-09 17:22
professionalRichard Andrew x6430-Sep-09 17:22 
GeneralRe: Dual Linkage Possible with Managed DLL? Pin
N a v a n e e t h30-Sep-09 17:48
N a v a n e e t h30-Sep-09 17:48 
Nope. Library should be compiled only once and it should be a mixed mode DLL (compiled using /clr). Trick is with header files. When a native user uses your library, he will see only the methods defined for native. Other methods are not seen as those are guarded with _MANAGED preprocessor directive.

1 - You create the library with exported functions and managed wrapper functions. This should be compiled with /clr switch.

2 - Supply the library along with header file. Since header file has preprocessor statements, managed method definitions won't be seen by a native compiler. They still can work with native methods.

Since your DLL is mixed mode, all users require .NET framework to be installed of course.

Smile | :)


Questionusing unmanaged lib in managed class [modified] Pin
carlo.andreoli29-Sep-09 22:50
carlo.andreoli29-Sep-09 22:50 
QuestionRe: using unmanaged lib in managed class [modified] Pin
carlo.andreoli30-Sep-09 22:56
carlo.andreoli30-Sep-09 22:56 
AnswerRe: using unmanaged lib in managed class Pin
Richard MacCutchan30-Sep-09 23:40
mveRichard MacCutchan30-Sep-09 23:40 
GeneralRe: using unmanaged lib in managed class Pin
carlo.andreoli30-Sep-09 23:59
carlo.andreoli30-Sep-09 23:59 
GeneralRe: using unmanaged lib in managed class Pin
Richard MacCutchan1-Oct-09 0:56
mveRichard MacCutchan1-Oct-09 0:56 
GeneralRe: using unmanaged lib in managed class Pin
Richard MacCutchan1-Oct-09 1:38
mveRichard MacCutchan1-Oct-09 1:38 
GeneralRe: using unmanaged lib in managed class [modified] Pin
carlo.andreoli1-Oct-09 2:03
carlo.andreoli1-Oct-09 2:03 
GeneralRe: using unmanaged lib in managed class Pin
Richard MacCutchan1-Oct-09 2:29
mveRichard MacCutchan1-Oct-09 2:29 
GeneralRe: using unmanaged lib in managed class Pin
carlo.andreoli1-Oct-09 3:34
carlo.andreoli1-Oct-09 3:34 
GeneralRe: using unmanaged lib in managed class Pin
Richard MacCutchan1-Oct-09 5:21
mveRichard MacCutchan1-Oct-09 5:21 
Questioncli::array<any^>^ Array Pin
jashimu29-Sep-09 7:12
jashimu29-Sep-09 7:12 
AnswerRe: cli::array<any^>^ Array Pin
N a v a n e e t h29-Sep-09 17:58
N a v a n e e t h29-Sep-09 17:58 
GeneralRe: cli::array<any^>^ Array Pin
jashimu30-Sep-09 4:32
jashimu30-Sep-09 4:32 
GeneralRe: cli::array<any^>^ Array Pin
Richard MacCutchan30-Sep-09 22:18
mveRichard MacCutchan30-Sep-09 22:18 
GeneralRe: cli::array<any^>^ Array Pin
jashimu1-Oct-09 6:50
jashimu1-Oct-09 6:50 
Questionproblem extending datetimepicker Pin
carlo.andreoli27-Sep-09 21:50
carlo.andreoli27-Sep-09 21:50 
AnswerRe: problem extending datetimepicker Pin
Luc Pattyn28-Sep-09 0:30
sitebuilderLuc Pattyn28-Sep-09 0:30 

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.