|
Unit1.h입니다...
어디에다 써야 되나요...
class TForm1 : public TForm
{
__published: // IDE-managed Components
TIOPort *IOPort1;
TCSpinEdit *SpinEdit1;
TiSwitchLed *iSwitchLed1;
<== 요기 넣으니깐.. 안되는데요...
void __fastcall iSwitchLed1Change(TObject *Sender);
private: // User declarations <== 요기도
public: // User declarations <== 요기도
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
김동욱 님이 쓰신 글 :
: 헤더 파일에 등록을 먼저 하셔야되요.
:
: Unit1.h에 void __fastcall Input(void);라는 항목을 추가하시고
:
: 함수 호출은 input();만 쓰시면 되요.
|