Created
February 24, 2014 10:08
-
-
Save ekwus/9184990 to your computer and use it in GitHub Desktop.
Call 45 From 40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void Main(string[] args) | |
{ | |
string path = Path.GetDirectoryName( Assembly.GetEntryAssembly().Location); | |
string name = Path.Combine(path, "TestCOM45.dll"); | |
Assembly ass = Assembly.LoadFile(name); | |
object obj = ass.CreateInstance("TestCOM45.TestCOMLib"); | |
ITestCom test = obj as ITestCom; | |
string ret = test.TestMe(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment