i've read about this in cortona documentation:
The run-time exception "Invalid floating point operation" can be supressed by calling the Set8087CW(0x133f) method before the form containing Cortona Control is created
So i write:
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{ Set8087CW(0x133f);
}
when i do same in delphi - everyhing is ok. i can close project and then edit my form as i want. but in c++builder - the form became inaccesible for me after reopening...
Try putting this in the constructor of your form
_control87(MCW_EM, MCW_EM);
I beleive this disables floating point exceptions generated by Direct3D stuff.
Neil
why after reopening project in builder c++ i can't edit the form with cortona element?
Error creating form: Floating point overflow.
:((