comparaison de pointeur non portable
Bonjour a tous,
dans un unit, j ai créé la focntion suivante:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
void TDlgSelectVariables::InitFeuilleDSV(TEdit*nb,TLabel*intit,TRadioButton*Btn1,TRadioButton*Btn2,TListBox*Box1,TEdit*ed,TButton*btn)
{
nb->Visible=false;
intit->Visible=false;
btn->Enabled=false;
nb->Text="";
Btn1->Checked=false;
Btn2->Checked=false;
ed->Text="";
for (int i=Box1->Items->Count;i>=0;i--)
{
Box1->Items->Delete(i);
}
} |
cette fonction, je l appelle de la maniere suivante:
Code:
1 2 3 4 5 6
|
void __fastcall TDlgSelectVariables::btnCancelClick(TObject *Sender)
{
this->InitFeuilleDSV(this->pourcen,this>Label5,this->Echcomplet,this->Partechen,this->edX,this->edY,this->btnOk);
this->Close();
} |
et j ai donc l erreur suivante:
Code:
1 2
|
comparaison de pointeur non portable |
est ce que vous sauriez a quoi ceci est du???
merci d avance