SDK and Delphi

Blitz3D SDK Forums/Blitz3D SDK Programming/SDK and Delphi

If you get 'division by zero' errors in Delphi when using the SDK, try calling this function at the start of the program:
procedure SecureFpu;
begin
    Set8087CW(Default8087CW or $3F);
end;