Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 3212

TFrameStand & C++Builder

$
0
0

I use TFrameStand.
How to translate code from Delphi to C ++

procedure TMainForm.ShowButtonClick(Sender: TObject);
var
  FFrameInfo: TFrameInfo;
begin
  FFrameInfo := FrameStand1.New(Layout1, 'bluestand');
  FFrameInfo.Show();
end;

 

I write

void __fastcall TForm1::Button1Click(TObject *Sender)
{
	Framestand::TFrameInfo__1* FFrameInfo;
	FFrameInfo = FrameStand1->New(Layout1, "bluestand");
	FFrameInfo->Show();
}

And I get an error

[ilink32 Error] Error: Unresolved external 'Framestand::TFrameInfo__1 * __fastcall Framestand::TFrameStand::New(Fmx::Types::TFmxObject * const, System::UnicodeString)' referenced from UNIT1.OBJ

[ilink32 Error] Error: Unresolved external '__fastcall Framestand::TFrameInfo__1::Show(System::DelphiInterface >, System::DelphiInterface >, const bool)' referenced from UNIT1.OBJ

 

 


Viewing all articles
Browse latest Browse all 3212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>