L
lallous
Hello
I'm new to C# and wonder if it is possible, as it is possible in C++, to
dynamically load a DLL and use it in C#.
The dll is written in C++ (unmanaged) and has the following export:
int test(void);
and the code resides in test.dll
I want a C# application that when I press "Button1", it should
dynamically load test.dll and its 'test' function and call it and get
its return value.
Is this possible in C#? If so, how?
The ultimate goal is to store that external dependency in my C#'s
application resources then extract/use/delete on demand.
I'm new to C# and wonder if it is possible, as it is possible in C++, to
dynamically load a DLL and use it in C#.
The dll is written in C++ (unmanaged) and has the following export:
int test(void);
and the code resides in test.dll
I want a C# application that when I press "Button1", it should
dynamically load test.dll and its 'test' function and call it and get
its return value.
Is this possible in C#? If so, how?
The ultimate goal is to store that external dependency in my C#'s
application resources then extract/use/delete on demand.