Hi Robert
 
Your comment about MS neglecting old API usage is correct - having read your post, my immediate thought was "is it me?", so I just pulled up the online (local) help page for the API and read as follows
 
 
DWORD SetThreadAffinityMask (
  HANDLE
hThread,             // handle to the thread of interest
  DWORD dwThreadAffinityMask  // a thread affinity mask
);
so it is now a VS 6 specific issue - grrrrrrh
 
Philip
 
Not sure if anyone else has had this issue in the past 24 hours but the osg-users-bouncest server suddenly seems to have taken to adding (at least) a seven hour delay between submission and bouncing emails. This submission written at 0652 UTC (GMT).
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Robert Osfield
Sent: 09 September 2006 21:16
To: osg users
Subject: Re: [osg-users] OpenSceneGraph-1.2 Release prep

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