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
Loading
Sam HobbsPosted Feb 4, 2011, 10:40 PM
Are you going around blasting everyone when someone does not get an answer? Note that there is absolutely nothing preventing someone from providing help doing what the person asked for. If you want to blast people for not answering, then you will be consumed by the task of criticizing millions of other threads that don't have answers. Is that what you are doing?
If you want to provide an answer, then go ahead. No one is telling you not to. When you have provided thousands of answers for others, then you can understand how much of your own time is spent trying to do other people's work. You have the right to decide who you help and who you don't help. After seeing many thousands of requests for assistance, I have seen many in which the person thinks they have a solution and asks for help with the solution instead of asking for help with the fundamental problem. I have seen many beginners asking for help doing something in a manner they thought would be the easy way but then they are having difficulty doing things that would be easy if they had chosen the appropriate solution.
It was my choice to not spend my time helping with a solution that most developers avoid when there are solutions available that are supported extensively in the available tools.
Pete DashwoodPosted Feb 4, 2011, 9:31 PM
Sam HobbsPosted Aug 25, 2010, 11:47 AM
Mukesh KaranwalPosted Aug 25, 2010, 3:15 AM
but this is my own private C++ dll, that executes a simple function.
presently, i am using it from a particular HDD location, but this way, it restricts the portability of the software, so i want this to be embedded in my project so that i could use this freely and on any pc.
or could you pls suggest me any better idea?
Sam HobbsPosted Aug 18, 2010, 11:58 AM
If the DLL has code from Microsoft in it that someone in the future discovers can be used by malicious software, then Microsoft will fix the DLL using Windows Update except it cannot do that if the DLL is a resource in your progam.