ParallelGraphics Forums
SDK
You are here: [Forums]::[General]::[SDK]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
   General - SDK

Subject: Re: problem in C++Builder
Sender: olga 7.03.06 13:03

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.
:((


 


problem in C++Builder / olga / 6.03.06 12:21
     Re: problem in C++Builder / neil.danson@gmail.com / 7.03.06 11:32
         Re: problem in C++Builder / olga / 7.03.06 13:03

Messages in thread: 3


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.