C# DLLs in C++

zxcvbs

New member
Joined
Dec 15, 2003
Messages
1
is it simple to call functions in a C# dll from C++ .net? I know how to do a simple C# dll that I can call from another C# project, but when trying to find out how to call it from C++ Im running into all this stuff about unmanaged/managed code and com objects...I figured it would be straightforward to go from c#.net to c++.net...

also, I guess Im a bit confused as to how a dll would work - would it be persistently running with the client app? Im writing a dll because I want to wrap up a program for use with many other projects, and one thing thats key is that the program loads a big data file on startup. with a dll, can I just have an initialize function that loads the data file, and will it stay loaded in memory as long as the client app is running?
 
Back
Top