Newbie: Can a C++ project be an assembly DLL?

  • Thread starter Thread starter Cindy Lee
  • Start date Start date
C

Cindy Lee

I basically have 3 .cpp files and 3 .h files, in a visual studio project.
Is there anyway to compile this into an assembly?
Or do I have to write a wrapper in C#?
Or do I convert to code to C#?

the files are not that large and have functions like:
void CBlowFish::Decrypt(SBlock& block)

what's the easiest way to do this?
I made a sample C# class file (Hello World) and the custom assembly worked
in my application. I was thinking of trying to translate the code into that
class.
 
I'm not sure about the data types being used in your C++ files but have you
tried loading the files in a VC++ .Net class library project.

Ankur
 
Back
Top