views:

298

answers:

4

http://forums.alliedmods.net/showthread.php?t=64767

The source acts like its missing a ton of stuff I can't find like uh TBX and some other things

I don't really know the language, but I have hoping I could get it to compile with delphi 2009/2010.net and then see about porting its IL. (to C# I guess)

The reasoning behind this is because pawnstudio is crash happy but the program (layout, syntax highlighting, the fact that the intellisense (clamsense) works with functions from includes, in the file, etc) is really easy to use.

Can anyone help?

+3  A: 

If you are using Delphi 7 you're using the VCL/various components native to delphi. Those are NOT present in c# (in Delphi 2009/2010 probably yes), so you can't do a naive port, you will need to redo most of the program. (at least the interface part)

feal87
+8  A: 

That is a really, really bad idea. Stabilize first, then port (if needed). Porting introduces problems, and it is not nice when you cannot tell if the bug is existing or new.

[edit] I've downloaded the source. It is not what I'd call modern, well-refactored Delphi code. Long functions, no object-orientation visible, all code in the form event handlers. TBX you can find at Torry

Stephan Eggermont
I don't know the language and like I said the source acts like its missing stuffI can't even compile it :/It would be easier to fix in c# and redoing the interface (from other answer) wouldn't be that hard.
Dragonshadow
A: 

TBX is not yet supported but you can look at spTBX

It will not be very easy to port in C#.

Hugues Van Landeghem
A: 

If you don't know Delphi, you ought to get someone who does to help out. Delphi's an easier language to work with than most, but like any language it has subtleties, complexities and dark corners. If you try to port it without the necessary domain knowledge, then not only are you reinventing the wheel, you're reinventing it half-blind. Especially if you're not able to compile the original and test it.

What units does it say are missing, BTW?

Mason Wheeler