Unit1.cpp
//////////////////////////////////
#include "Unit2.h"
void __fastcall TFrmFF::btffClick(TObject *Sender)
{
int i = 0;
if( i != 0)
{
Form1->Cap(i); <----------------------- 에러
}
}
////////////////////////////////////////
Unit2.cpp
void TForm1::Cap(int num);
{
String CA[2];
CA[0] = " CA 0 ";
CA[1] = " CA 1 ";
TFrmFF->Label1->Caption = CA[num];
}
////////////////////////////////////////
Unit1.cpp 표시 부분에서 위와 같은 에러가 납니다..
이유가 뭘까요 ㅠ_ㅠ
|