WJ32 has removed (may be intentionally
) kph functions from sdk, so that you cannot use kph functions
easily in your program ( you can still use kph functions in your program through different ways ).
You can use kph functions by creating your own sdk, but this might not work for everyone when shared.
Thats why for ph 2.36 i have not shared new dll's, because the dll developed will be without kph (no kph),
that is of no use.
Now to your question of compiling, it is very easy:-
1) Don't use current sdk ( use ph 2.35 or even previous versions sdk )
2) Put required header files in your ph 2.35 sdk include folder.
3) Dll for X64 or X86 will be created which will work for <= ph 2.35 versions
0 Errors & 0 Warnings.
You are getting InterlockedExchangePointer errors because of wrong sdk (ph + win)
Try it out & let me know.