Storing and accessing .dll file in resources

Aug 18 2010 7:30 AM

Hey all,
I want to add a C++ dll as an embedded resource in my project(so that i could use this applicaion and dll anywhere without being worried about the dll file location) and subsequently, i want to access it in my C# code.
This dll contains a method(say abc()) which accepts certain parameters and gives an integer as the output.
How can i access this method to give the required parametes from C#.net application?
Could anyone please suggest anything?
Thanks and regards

Answers (5)