R
RexChng
Guest
Hello,
Facing another issue about SRWLock when upgrade VS2010 to VS2017. Original code works, but errors when compiling with VS2017.
wrappers.h(187): error C3861: 'InitializeSRWLock': identifier not found
wrappers.h(197): error C3861: 'AcquireSRWLockExclusive': identifier not found
wrappers.h(203): error C3861: 'ReleaseSRWLockExclusive': identifier not found
wrappers.h(209): error C3861: 'AcquireSRWLockShared': identifier not found
wrappers.h(215): error C3861: 'ReleaseSRWLockShared': identifier not found
In VS2010, the definitions locate at C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winbase.h
For VS2017, I tried to include synchapi.h and Windows.h. Still same error.
Thanks in advance for any comments.
Continue reading...
Facing another issue about SRWLock when upgrade VS2010 to VS2017. Original code works, but errors when compiling with VS2017.
wrappers.h(187): error C3861: 'InitializeSRWLock': identifier not found
wrappers.h(197): error C3861: 'AcquireSRWLockExclusive': identifier not found
wrappers.h(203): error C3861: 'ReleaseSRWLockExclusive': identifier not found
wrappers.h(209): error C3861: 'AcquireSRWLockShared': identifier not found
wrappers.h(215): error C3861: 'ReleaseSRWLockShared': identifier not found
In VS2010, the definitions locate at C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winbase.h
For VS2017, I tried to include synchapi.h and Windows.h. Still same error.
Thanks in advance for any comments.
Continue reading...