Casting to long would truncate the pointers when compiling with MSVC for Win64.
Attach a file by drag & drop or click to upload