beginner: reflection help
-
if I have a main program named Program.cs and a dynamically loaded dll named bot.dll how can I call methods in Program.cs. please help me cause I want to create a programming game if anyone has a sample please reply thank you in advance!
-
if I have a main program named Program.cs and a dynamically loaded dll named bot.dll how can I call methods in Program.cs. please help me cause I want to create a programming game if anyone has a sample please reply thank you in advance!
I want to call methods in program.cs from bot.dll
-
if I have a main program named Program.cs and a dynamically loaded dll named bot.dll how can I call methods in Program.cs. please help me cause I want to create a programming game if anyone has a sample please reply thank you in advance!
I guess It's like the same as including methods from the user32.dll: [DllImport("user32.dll", EntryPoint = "SendMessage", CharSet = CharSet.Auto, CallingConvention = CallingConvention.Winapi)] private static extern int SendMessage(IntPtr hWnd, int uMsg, int wParam, IntPtr lParam);