- Joined
- Nov 21, 2007
- Messages
- 286
- Reaction score
- 0
.....
Last edited:
DLLs are not restricted to a language. You just have to import the class structure into your language and go from there. =) The functions handle all the processing within the DLL so all you do is pass the packet itself and it returns your struct all set out.to much of a pain to keep interveining between the DLL's and having to recompile for Delphi; It'd just keep em in a .pas (A source file) and C# a .cs Lol. I wouldn't bother using a DLL.
i know just pass a stdcall, But it's too much of a pain like I said to keep compiling two language(s), or to have two individual projects (one for the server, one for the dll) I'm just naturally lazy.
btw it's not smart to pass structs/classes through DLL's especially with a .NET language once the DLL disposes of the class and ur server keeps using the inital pointer u get a buncha errors rofl.
It only gets rid of it when the block is finished so you'd be accessing it from another area which should never happen anyway.Mhm, I can tell you'd write your DLL in C++; So you'd be fine but half Er.. well I wont insult them. But they'd write their DLL in a .NET Language, C# or VB or one of 'em thats "managed" memory and once it thinks your not using it anymore it'll dispose of it lmfao, then you try access it ur program gets errors.
That's why C# is **** for mmorpgs, I personally think only languages where you can control over when memory is allocated and disposed of are languages suitable for games.
Hmm i dont know about those things yet, but will i need them to write my server?