Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

Problems with C# #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I just wanna know if i will get problems if I try to "translate" tibiaapi 
from c# to C ANSI, bcuz i really know nothing about c#.

Kind Regards,
Humberto

Original issue reported on code.google.com by humberto...@gmail.com on 1 Jul 2008 at 4:57

GoogleCodeExporter commented 9 years ago
TibiaAPI is built around the .Net framework, using C# as the language of choice.
Besides syntax, there is no correlation between C# and ANSI C. Further, C# is an
Object Oriented language, whereas C is a very simple functional language.

You would have a pretty tough time translating all of TibiaAPI to C, and if you 
ask
me, it is completely unnecessary. If it is speed you want, you will want to 
rewrite
and condense all of the functions anyways. Check tpforums.org for some C 
samples, and
you could possibly look at some of the memory editing functions of TibiaAPI to 
see
how we call the Windows API, as that is the only thing TibiaAPI and C have in 
common.

Original comment by ian320 on 3 Jul 2008 at 9:07