Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what seems to be the problem?

Status
Not open for further replies.

tougo

Technical User
Sep 9, 2002
27
GB
i thought of this way to assign some values that are used in the form1(x0y0) in a second form...the programm compiles correctly but this "thing" below does not seem to work!

double ua, wa, va, ub,wb,vb, r11, r21, r31, r13, r23, r33, r12, r22, r32, x0, y0, X0, Z0 ,Y0, Y01, Y02, c;
x0y0->Label19->Caption = x0;
x0y0->Label18->Caption = y0;
x0y0->Label23->Caption = c;
x0y0->Label24->Caption = r11;
x0y0->Label25->Caption = r12;
x0y0->Label26->Caption = r13;
x0y0->Label27->Caption = r21;
x0y0->Label28->Caption = r22;
x0y0->Label29->Caption = r23;
x0y0->Label30->Caption = r31;
x0y0->Label31->Caption = r32;
x0y0->Label32->Caption = r33;
 
Try using
x0y0->Label19->Caption = FloatToStr(r33);
 
still received the following error:

Project rotate raised class EAccessViolation with message 'Access violation at address 00403D97 in module "rotate.exe". Read of address 00000344'
 
It does not look like you are initialzing your doubles. As a result, they may have anything in them, including non-numbers.
James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top