//--------------------------------------------------------------------------- #ifndef Sample1uH #define Sample1uH //--------------------------------------------------------------------------- #include #include #include #include #include #include #define RegKey "System\\CurrentControlSet\\Services\\NTioPCI\\Parameters" //--------------------------------------------------------------------------- class TSample1Form : public TForm { __published: // IDE-managed Components TLabel *CardName; TMemo *Memo1; TButton *ExitButton; TGroupBox *ISAPanel; TLabel *HexLabel; TEdit *BaseEdit; TButton *TestButton; TGroupBox *ChannelBox; TTimer *TestTimer; TLabel *Label2; TLabel *Label3; TLabel *Label4; TPanel *Port0Text; TPanel *Port1Text; TPanel *Port2Text; TComboBox *deviceList; void __fastcall ExitButtonClick(TObject *Sender); void __fastcall TestButtonClick(TObject *Sender); void __fastcall TestTimerTimer(TObject *Sender); void __fastcall FormCreate(TObject *Sender); void __fastcall deviceListChange(TObject *Sender); private: // User declarations public: // User declarations __fastcall TSample1Form(TComponent* Owner); void __fastcall getDeviceInfo(); Word addresses[64]; int numCards; }; //--------------------------------------------------------------------------- extern PACKAGE TSample1Form *Sample1Form; //--------------------------------------------------------------------------- #endif