I have created a win32 dll(VC++). And I know the appropriate .net assembly file which contains the required methods.
I want to access those methods from my DLL.
I came to know , it can possible through C++/CLI interface.
But i'm very new to C++/CLI . So kindly help me to create such interface in C++ which can access those methods using certain assembly/any way.
If have any any sample example (running),then please share me soon. I tried a lot in google , but till now i didn't get any helpful samples .
That is problematic. I am rather certain it is not easy even for an experienced programmer. So rather than figuring out details your going to be fighting your lack of knowledge.
It the following a possible solution?
1. Create an managed C++ executable. It wraps your target library and provides the functionality that your other app needs (from the library.)
2. Provide a communications API for that executable. Either sockets, files or stdin/out.
3. Test it
4. Use unmanaged C++ system calls to run the executable and communicate with it.
litu kumar wrote:
If have any any sample example (running)
Google seemed to provide plenty of answers. I used the following.