Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 136,158 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 2,131 people online right now. Registration is fast and FREE... Join Now!




Is it possible to load a C# dll in cpp

 
Reply to this topicStart new topic

Is it possible to load a C# dll in cpp

johnsvakel
17 Dec, 2007 - 06:06 AM
Post #1

New D.I.C Head
*

Joined: 6 Dec, 2007
Posts: 5


My Contributions
How can i load a c# dll in cpp?
Any methods?

Thanks in advance
User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: Is It Possible To Load A C# Dll In Cpp
17 Dec, 2007 - 09:22 AM
Post #2

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 3,984



Thanked: 16 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
A .dll should be fine across the languages.

have you included: mscorlib.dll and stdafx.h
(assuming you are using VC++)

are you receiving an error?

User is offlineProfile CardPM
+Quote Post

johnsvakel
RE: Is It Possible To Load A C# Dll In Cpp
17 Dec, 2007 - 09:19 PM
Post #3

New D.I.C Head
*

Joined: 6 Dec, 2007
Posts: 5


My Contributions
i got an error "managed targeted code requires '#using <mscorlib.dll>' and '/clr' option"
wat else need to do?
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 11:25PM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month