0
Library in C# to use dll in C++
I want to create dll which help to use dll wrote on C++ (my app od wrote on C#) but i meet stuct which use pointer to function.
2 odpowiedzi
0
To be more precise
https://code.sololearn.com/cK8EP3N00CXu/?ref=app
0
Ok.
After couple hours of searching I find that:
- you should create delegate which reaturn how to create string from noumber (in c# I give everywhere null because easier for me is to use ToString())
- in place of LPVOID I use IntPtr and use use Marshall to get proper IntPtr in place od proper String.