I have a a function that is written in pure unmanaged c++ .
i want to convert this to a dll and use this in a c# application ..
Is this possible and if so how?
Can anyone please give some sample code to do this or any links.
I have only a day to do this guys so please help me..

Recommended Answers

All 2 Replies

Use google - theres a number of examples

You need to code it in C++ on say, VC++ 6.0 IDE. (Project type will be dll)
Then you'll open MSDN and search how to add reference to unmanaged dll then everything will work.
The reference to use and trust in http://www.msdn.com

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.