tform(owner)
{
}
//------------------
void __fastcall tform1::formcreate(tobject *sender)
{
char windowsdirectory[max_path];
getwindowsdirectory(windowsdirectory, max_path);
labelededit1–>text=windowsdirectory;
char systemdirectory[max_path];
getsystemdirectory(systemdirectory, max_path);
labelededit2–>text=systemdirectory;
unsigned long size = max_computername_length + 1;
char *buffer = new char[size];
getcomputername(buffer, &size);
labelededit3–>text=buffer;
delete [] buffer;
}
//------------------
void __fastcall tform1::button1click(tobject *sender)
{
close();
}
Это какой фрейворк?
Херовый
Страшно, вырубай
Обсуждают сегодня