On Fri, 28 Dec 2001, Chris Kennedy wrote: > Hey guys - got this message. I could rem out the stuff, but the latest CVS > does that. > > > Creating library Release/fsci.lib and object Release/fsci.exp > tools.obj : error LNK2001: unresolved external symbol _SwitchToThread > event_ss_win32.obj : error LNK2001: unresolved external symbol > _SwitchToThread > midiout_win32mci.obj : error LNK2001: unresolved external symbol > _SwitchToThread > usleep.obj : error LNK2001: unresolved external symbol _SwitchToThread > ..\..\bin\fsci.dll : fatal error LNK1120: 1 unresolved externals
Ack! Sorry, I totally forgot about this. There is a bug in the Platform SDK headers (which I reported to MS), where SwitchToThread is ifdef'd out in winbase.h unnecessarily. The #endif should end after the SwitchToFiber call. The SDK documentation claims this call is available on win9x and NT, I haven't tested win9x yet, though. Sorry again! -- http://www.clock.org/~matt
