Bsbosa.com
07-14-2010, 09:54 PM
Hi,
I need to use _contolfp_s function in vc6 to set the floating point control word.
I have already used _controlfp and it is working fine
#include "float.h"_controlfp(_CW_DEFAULT, 0xFFFFF);
but it seems this is deprecated function and I have to use the new _contolfp_s.
But using this _contolfp_s gives an error undelared identifier as it is checking in the path
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\float.h
I have to Include the below path for my vc6 application
C:\Program Files\Microsoft Visual Studio 8\VC\include\float.h
Where should I Include this?
Thanks
Satya
Today is a gift, that's why it is called the present.
I need to use _contolfp_s function in vc6 to set the floating point control word.
I have already used _controlfp and it is working fine
#include "float.h"_controlfp(_CW_DEFAULT, 0xFFFFF);
but it seems this is deprecated function and I have to use the new _contolfp_s.
But using this _contolfp_s gives an error undelared identifier as it is checking in the path
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\float.h
I have to Include the below path for my vc6 application
C:\Program Files\Microsoft Visual Studio 8\VC\include\float.h
Where should I Include this?
Thanks
Satya
Today is a gift, that's why it is called the present.