Hi Philip,

On 9/9/06, Philip Taylor <[EMAIL PROTECTED]> wrote:
In a similar vein to my recent posting, the following line in the OpenThreads 8th Sep tarball still contains the following VS6  compilation error in Win32Thread.cpp(554) line should read
 
     DWORD res =
and NOT
 
    DWORD_PTR res =
 
unless there is a 64-bit compilation issue. The function in line 555,  SetThreadAffinityMask, returns a DWORD value under VS 6, and I find hard to believe that Microsotf would change the return type since it could break applications.


The MS page on setThreadAffinityMask says DWORD_PTR is the return type:

  http://msdn.microsoft.com/library/default.asp?url=""> 

I guess VS6.0 has now been unsupported by MS for so long that they are even neglecting to mention the old API usage.  The best we can do is add a VS6.0 specific #idef on the type of the res.

Robert.


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to