Why does ->Assign, shown below, cause access violation?
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
if (!FontDialog1->Execute())
return;
AdvStringGrid1->FixedFont->Assign(FontDialog1->Font); // <----- access violation
}
Above is intended to reflect for 64-bit compilation, using Seattle 10 Update 1 C++.
I have retested this here but I cannot reproduce this.
Is this happening with a basic new app compiled without using runtime packages?
Hi Bruno,
I reinstalled all parts of this, the IDE, and the problem has mysteriously vanished.
My apology in wasting your time.
k