//--------------------------------------------------------------------------- #ifndef DetectH #define DetectH //--------------------------------------------------------------------------- #include #include #include #include //--------------------------------------------------------------------------- class TDetectForm : 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 TDetectForm(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TDetectForm *DetectForm; //--------------------------------------------------------------------------- #endif