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.

30th Jan 2020, 5:19 AM
Rafał Niedzielak
Rafał Niedzielak - avatar
2 Réponses
30th Jan 2020, 6:23 AM
Rafał Niedzielak
Rafał Niedzielak - avatar
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.
30th Jan 2020, 6:10 PM
Rafał Niedzielak
Rafał Niedzielak - avatar