Click here to Skip to main content
15,917,320 members
Home / Discussions / C#
   

C#

 
AnswerRe: Response.Redirect Pin
Michael P Butler1-Feb-07 3:45
Michael P Butler1-Feb-07 3:45 
QuestionXML Pin
snouto1-Feb-07 3:30
snouto1-Feb-07 3:30 
AnswerRe: XML Pin
Dustin Metzgar1-Feb-07 3:48
Dustin Metzgar1-Feb-07 3:48 
QuestionCompiler 2003 Makes me Dieing Pin
snouto1-Feb-07 2:41
snouto1-Feb-07 2:41 
AnswerRe: Compiler 2003 Makes me Dieing Pin
ednrgc1-Feb-07 3:21
ednrgc1-Feb-07 3:21 
GeneralRe: Compiler 2003 Makes me Dieing Pin
snouto1-Feb-07 3:31
snouto1-Feb-07 3:31 
QuestionHow to Call C# dll in VC++ 6.0 Pin
Vijjuuu.1-Feb-07 2:39
Vijjuuu.1-Feb-07 2:39 
AnswerRe: How to Call C# dll in VC++ 6.0 Pin
David Knechtges1-Feb-07 2:55
David Knechtges1-Feb-07 2:55 
I did something similar to use some classes in .NET from VC 6. Not exactly like what you are asking, but I think if you do it this way, you will get the result you are looking for:

1) Create a "bridge" .DLL written in C++ .NET that instantiates the classes in your C# library and accesses the members as you want them. Create helper functions, structures, or whatever it is you need that is a 1-1 map to what is in C# that you need.

2) Call this bridge from the VC 6 code as you would any other .DLL. You are using the IJW (it just works) feature of C++ .NET to get your code to work together correctly.

My code used LoadLibrary because I didn't want to force the user to have the .NET framework on their machines (it just had a default behaviour otherwise).

David
GeneralRe: How to Call C# dll in VC++ 6.0 Pin
Vijjuuu.1-Feb-07 19:17
Vijjuuu.1-Feb-07 19:17 
AnswerRe: How to Call C# dll in VC++ 6.0 Pin
Tim Paaschen1-Feb-07 19:32
Tim Paaschen1-Feb-07 19:32 
Questionbutton Pin
mihksoft1-Feb-07 2:37
mihksoft1-Feb-07 2:37 
AnswerRe: button Pin
ednrgc1-Feb-07 3:24
ednrgc1-Feb-07 3:24 
GeneralRe: button Pin
mihksoft1-Feb-07 4:04
mihksoft1-Feb-07 4:04 
GeneralRe: button Pin
ednrgc1-Feb-07 4:05
ednrgc1-Feb-07 4:05 
GeneralRe: button Pin
mihksoft1-Feb-07 4:49
mihksoft1-Feb-07 4:49 
GeneralRe: button Pin
ednrgc1-Feb-07 4:52
ednrgc1-Feb-07 4:52 
GeneralRe: button Pin
mihksoft1-Feb-07 5:00
mihksoft1-Feb-07 5:00 
GeneralRe: button Pin
ednrgc1-Feb-07 5:04
ednrgc1-Feb-07 5:04 
GeneralRe: button Pin
mihksoft1-Feb-07 5:07
mihksoft1-Feb-07 5:07 
GeneralRe: button Pin
ednrgc1-Feb-07 5:11
ednrgc1-Feb-07 5:11 
GeneralRe: button Pin
mihksoft1-Feb-07 5:17
mihksoft1-Feb-07 5:17 
GeneralRe: button Pin
mihksoft1-Feb-07 5:55
mihksoft1-Feb-07 5:55 
GeneralRe: button Pin
mihksoft1-Feb-07 6:16
mihksoft1-Feb-07 6:16 
QuestionCreating windows application using C# Pin
frossie1-Feb-07 2:35
frossie1-Feb-07 2:35 
AnswerRe: Creating windows application using C# Pin
ednrgc1-Feb-07 3:26
ednrgc1-Feb-07 3:26 

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.