hi
I am trying to import a C++ dll(writen by some hardware manufacturer) into another C# dll that I am designing.
As i am new to this Dll imports and Visual studio (c#, c++) I am having a hard time to do that.
I tried to add as reference, I placed the dll in to physical location(bin), I tried to Register the dll with cmd line, all these failed
Later I tried to use reflections by creating Delagates for the methods.
it did not work,
so now tried to do the MArshalAs for the variables (Handler) that are in the c++ dll functions.
Can some body please provuid source code for how to Import a c++ dll into another c# dll.
I have looked at general examples....but still no luck....
Thanks in advance...