![]()
Benutzerinformationen überspringen
Dabei seit: 10. Oktober 2009
Wohnort: k
Frühere Benutzernamen: m0nst3rkill3r
Zitat von »"http://forums.macrumors.com/showpost.php?s=9e0078570b2b62fd044cc1b13d212b09&p=4777525&postcount=1064"«
When talking about how apple cannot influence the future of computers, you also forgot to mention that the internet was created on a network of macs to start with. Thats why every online PeeCee has a MAC code. Even my PSP needs a MAC code to get online....
Benutzerinformationen überspringen
Dabei seit: 10. Oktober 2009
Wohnort: k
Frühere Benutzernamen: m0nst3rkill3r
Zitat von »"http://forums.macrumors.com/showpost.php?s=9e0078570b2b62fd044cc1b13d212b09&p=4777525&postcount=1064"«
When talking about how apple cannot influence the future of computers, you also forgot to mention that the internet was created on a network of macs to start with. Thats why every online PeeCee has a MAC code. Even my PSP needs a MAC code to get online....
Benutzerinformationen überspringen
Dabei seit: 10. Oktober 2009
Wohnort: k
Frühere Benutzernamen: m0nst3rkill3r
Zitat von »"http://forums.macrumors.com/showpost.php?s=9e0078570b2b62fd044cc1b13d212b09&p=4777525&postcount=1064"«
When talking about how apple cannot influence the future of computers, you also forgot to mention that the internet was created on a network of macs to start with. Thats why every online PeeCee has a MAC code. Even my PSP needs a MAC code to get online....
Benutzerinformationen überspringen
Dabei seit: 10. Oktober 2009
Wohnort: k
Frühere Benutzernamen: m0nst3rkill3r

Zitat von »"http://forums.macrumors.com/showpost.php?s=9e0078570b2b62fd044cc1b13d212b09&p=4777525&postcount=1064"«
When talking about how apple cannot influence the future of computers, you also forgot to mention that the internet was created on a network of macs to start with. Thats why every online PeeCee has a MAC code. Even my PSP needs a MAC code to get online....
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tsuyo« (26. Mai 2010, 17:01)
Benutzerinformationen überspringen
Dabei seit: 10. Oktober 2009
Wohnort: k
Frühere Benutzernamen: m0nst3rkill3r
|
|
Visual Basic Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
DirectoryInfo dinfo = new DirectoryInfo("modules/"); FileInfo[] files = dinfo.GetFiles("*.dll"); foreach (var f in files) { string p = f.FullName; Assembly SampleAssembly; Type[] Types = null; Type modul = null; SampleAssembly = Assembly.LoadFile(p); Types = SampleAssembly.GetTypes(); foreach (Type i in Types) { if ((i.Name == "Plugin")) { modul = i; break; } } ObjectHandle a = Activator.CreateInstanceFrom(p, modul.FullName); MethodInfo[] functionen = null; functionen = (System.Reflection.MethodInfo[])modul.GetMethods(); string[] funktionen = ((string[])modul.GetMethod("Functions").Invoke(null, null)); ' functions ist eine funktion in der Assembly richTextBox1.Text += modul.FullName + "\r\n"; richTextBox1.Text += "------------- \r\n"; for (int i = 0; i <= funktionen.Length - 1; i++) { lua.RegisterFunction(modul.GetMethod(funktionen[i]).Name, this, modul.GetMethod(funktionen[i])); richTextBox1.Text += modul.GetMethod(funktionen[i]).Name+"\r\n"; } } |
Zitat von »"http://forums.macrumors.com/showpost.php?s=9e0078570b2b62fd044cc1b13d212b09&p=4777525&postcount=1064"«
When talking about how apple cannot influence the future of computers, you also forgot to mention that the internet was created on a network of macs to start with. Thats why every online PeeCee has a MAC code. Even my PSP needs a MAC code to get online....
Benutzerinformationen überspringen
Dabei seit: 10. Oktober 2009
Wohnort: k
Frühere Benutzernamen: m0nst3rkill3r
Zitat von »"http://forums.macrumors.com/showpost.php?s=9e0078570b2b62fd044cc1b13d212b09&p=4777525&postcount=1064"«
When talking about how apple cannot influence the future of computers, you also forgot to mention that the internet was created on a network of macs to start with. Thats why every online PeeCee has a MAC code. Even my PSP needs a MAC code to get online....
Benutzerinformationen überspringen
Dabei seit: 14. Januar 2010
Wohnort: Lübeck
Frühere Benutzernamen: r3mote
wie kann ich dieses Plugin System in meinem Programm einbauen?
Und wie erstelle ich dazu die richtige .ddl datei?
Ich bin noch neu in diesem Gebiet.




|
|
Visual Basic Quellcode |
1 2 |
Dim newValue As String = strArray((strArray.Length - 1)).Replace(".dll", "") type = [assembly].GetType((Me.m_sNamespace.Replace("$plugin", newValue) & "." & Me.m_sClass.Replace("$plugin", newValue))) |

