//--------------------------------------------------------------------------- #ifndef DetectH #define DetectH //--------------------------------------------------------------------------- #include #include #include #include //--------------------------------------------------------------------------- class TForm2 : public TForm { __published: // IDE-managed Components TListBox *DeviceList; TButton *GoButton; TButton *DetectButton; TMemo *StatusMemo; void __fastcall GoButtonClick(TObject *Sender); void __fastcall DetectButtonClick(TObject *Sender); private: // User declarations public: // User declarations boolean DeviceOK[8]; unsigned long DeviceIndex; __fastcall TForm2(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm2 *Form2; //--------------------------------------------------------------------------- #endif