DLL Classes and running functions
Posted on 2006-11-01
Currently is use the Assembly.LoadFile function to load the DLL. This works :)
Then i use the SampleAssembly.GetTypes in a foreach loop to find the class i want. This works :)
Then i use the following to load the class:
object oClass = Activator.CreateInstance(oClassType);
My question is, Without knowing the class structure of the DLL Class, how can i call a function inside that class?