用DELPHI语言写程序 定义为: function DO_WritePort (CardNumber:Word;Port:Word;Value:Cardinal):Smallint;stdcall; function DI_ReadPort (CardNumber:Word; Port:Word; var Value:Cardinal):Smallint;stdcall; function Register_Card (CardType:Word; card_num:Word):Smallint;stdcall; function Release_Card (CardNumber:Word):Smallint;stdcall;