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

Managed C++/CLI

 
GeneralRe: Avoid if else... Pin
vikasvds14-Jun-09 21:36
vikasvds14-Jun-09 21:36 
QuestionRun external executable file in C++ Pin
wael_r11-Jun-09 2:11
wael_r11-Jun-09 2:11 
AnswerRe: Run external executable file in C++ Pin
vikasvds11-Jun-09 2:28
vikasvds11-Jun-09 2:28 
AnswerRe: Run external executable file in C++ Pin
Luc Pattyn11-Jun-09 3:23
sitebuilderLuc Pattyn11-Jun-09 3:23 
QuestionBeginning C++/CLI Question Pin
Shadowsoal9-Jun-09 13:39
Shadowsoal9-Jun-09 13:39 
AnswerRe: Beginning C++/CLI Question Pin
N a v a n e e t h9-Jun-09 16:30
N a v a n e e t h9-Jun-09 16:30 
GeneralRe: Beginning C++/CLI Question Pin
Shadowsoal9-Jun-09 16:37
Shadowsoal9-Jun-09 16:37 
GeneralRe: Beginning C++/CLI Question Pin
N a v a n e e t h9-Jun-09 17:47
N a v a n e e t h9-Jun-09 17:47 
Shadowsoal wrote:
Certainly not a homework question


My mistake Frown | :(

Shadowsoal wrote:
I'm not developing this specifically in Visual Studio though, I was just compiling with cl and csc. Which is why I was wondering if someone could explain how to explicitly link the two.


I am not getting where you are stuck.

Use cl with /clr command switch to compile C++/CLI program. Make a DLL from it which can be run on common language runtime. See the compiler switches here[^].

Once you generated the DLL, use csc to compile the C# application. There is no linker needed for C# programs. Specify the DLL as reference to the compiler. I guess /reference is the compiler switch used for that. See /lib[^] as well for specifying the directories where to look for assembly.

Smile | :)


GeneralRe: Beginning C++/CLI Question Pin
Shadowsoal9-Jun-09 18:02
Shadowsoal9-Jun-09 18:02 
GeneralRe: Beginning C++/CLI Question Pin
N a v a n e e t h9-Jun-09 18:04
N a v a n e e t h9-Jun-09 18:04 
GeneralRe: Beginning C++/CLI Question Pin
Shadowsoal9-Jun-09 18:11
Shadowsoal9-Jun-09 18:11 
GeneralRe: Beginning C++/CLI Question Pin
Shadowsoal10-Jun-09 5:14
Shadowsoal10-Jun-09 5:14 
GeneralRe: Beginning C++/CLI Question Pin
N a v a n e e t h10-Jun-09 18:12
N a v a n e e t h10-Jun-09 18:12 
GeneralRe: Beginning C++/CLI Question Pin
Shadowsoal10-Jun-09 18:44
Shadowsoal10-Jun-09 18:44 
GeneralRe: Beginning C++/CLI Question Pin
N a v a n e e t h10-Jun-09 20:33
N a v a n e e t h10-Jun-09 20:33 
GeneralRe: Beginning C++/CLI Question Pin
Shadowsoal22-Jun-09 5:40
Shadowsoal22-Jun-09 5:40 
Question[Message Deleted] Pin
Richard Andrew x649-Jun-09 7:59
professionalRichard Andrew x649-Jun-09 7:59 
QuestionUnlockBits releases my Byte-Array Pin
cherrymotion9-Jun-09 3:27
cherrymotion9-Jun-09 3:27 
AnswerRe: UnlockBits releases my Byte-Array Pin
Luc Pattyn9-Jun-09 3:48
sitebuilderLuc Pattyn9-Jun-09 3:48 
GeneralRe: UnlockBits releases my Byte-Array Pin
cherrymotion9-Jun-09 6:14
cherrymotion9-Jun-09 6:14 
GeneralRe: UnlockBits releases my Byte-Array Pin
Luc Pattyn9-Jun-09 6:43
sitebuilderLuc Pattyn9-Jun-09 6:43 
AnswerRe: UnlockBits releases my Byte-Array Pin
Mark Salsbery9-Jun-09 6:45
Mark Salsbery9-Jun-09 6:45 
AnswerRe: UnlockBits releases my Byte-Array Pin
Mark Salsbery9-Jun-09 6:54
Mark Salsbery9-Jun-09 6:54 
GeneralRe: UnlockBits releases my Byte-Array Pin
cherrymotion9-Jun-09 10:53
cherrymotion9-Jun-09 10:53 
QuestionCOM vs Assembly Pin
Varghese Paul M7-Jun-09 19:23
Varghese Paul M7-Jun-09 19:23 

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.