Use of any of the following 3 functions (that operate only on 32bit values) result in error:
But that is not important, since i want to operate on 64bit values, i actually need these functions:POLINK: error: Unresolved external symbol 'InterlockedIncrement'.
POLINK: error: Unresolved external symbol 'InterlockedDecrement'.
POLINK: error: Unresolved external symbol 'InterlockedExchangeAdd'.
Code: Select all
InterlockedIncrement64
InterlockedDecrement64
InterlockedExchangeAdd64
Is it possible to use them directly in PureBasic (x64)?
Only option i can see right now is to create proxy static lib for these functions with some 64bit c++ compiler and import that lib in PureBasic.
Maybe this is a bug? Or maybe not and i need to make feature request for these 64bit functions to be included in future 64bit PureBasic versions?
Thanks