C#C
C#11mo ago
MS

Help me with C++ / C#

I want to make a simple c# program with 1-2 functions and a program in c++ that inject in this c# program and check integrity of c# program by calling the c# function and validating its output.

HMODULE hModule = LoadLibraryA("Program.exe");
AddFunc Add = (AddFunc)GetProcAddress(hModule, "Add");

I can't get function address.
Was this page helpful?