//--------------------------------------------------------------------------- #ifndef DetectUnitH #define DetectUnitH //--------------------------------------------------------------------------- #include #include #include #include #include //--------------------------------------------------------------------------- class TDetectForm : public TForm { __published: // IDE-managed Components TPanel *Panel1; TButton *GoButton; TButton *DetectButton; TListBox *DeviceList; TMemo *StatusMemo; void __fastcall FormCreate(TObject *Sender); void __fastcall DetectButtonClick(TObject *Sender); void __fastcall GoButtonClick(TObject *Sender); private: public: // User declarations __fastcall TDetectForm(TComponent* Owner); unsigned long DeviceIndex; }; //--------------------------------------------------------------------------- extern PACKAGE TDetectForm *DetectForm; //--------------------------------------------------------------------------- #endif