//--------------------------------------------------------------------------- #ifndef DIOuH #define DIOuH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TLabel *Label5; TLabel *CardName; TLabel *Label2; TLabel *Label3; TLabel *Label4; TGroupBox *GroupBox1; TMemo *Memo1; TBitBtn *ExitButton; TButton *BeginSample; TPanel *RelayOut; TPanel *RelayRead; TPanel *OptoIn; TTimer *RunTimer; TLabel *IsaLabel; TEdit *IsaEdit; TLabel *AddressLabel; TLabel *AddressLabel1; void __fastcall FormCreate(TObject *Sender); void __fastcall ExitButtonClick(TObject *Sender); void __fastcall BeginSampleClick(TObject *Sender); void __fastcall RunTimerTimer(TObject *Sender); void __fastcall FormActivate(TObject *Sender); private: // User declarations TRegistry *DriverRegistry; unsigned short Address; bool RunFlag; public: // User declarations __fastcall TForm1(TComponent* Owner); void __fastcall UpdateDriverRegistry(void); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #define MyKey "Software\\PCIFIND\\NTioPCI\\Parameters" #endif