Re: Need help with decoding and understanding bgt's network implementation
C# DLLs are literally Assemblies. They don't expose functions of a DLL in the normal way. Example:
using System;
namespace TestDll {
public static class Dll {
public static void SayHi() {
Console.WriteLine("Hi!");
}
}
}
Now, I can't say if that code compiles or not, vut, minus the fact that there's no "Main" function, you'd think it's a normal program. You can literally import DLLs (written in C#) like this.
using Dllname;
While when calling a C/C++ DLL, you need to do
[System.Runtime.InteropServices.DllImport("user32.dll")]
public static extern void SetWindowText(int hWnd, String text);
That should show how different the DLLs are. If you want to call them from something that's not C#/VB/C++-CLI, best of luck.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector