Please post here the missing WinAPI structures or constants which aren't predeclared in PureBasic (and you actually needed it). It has to be in PureBasic code format, and you should have tested the structures on Windows x86 and Windows x64 to ensures it's correct. Posts like 'here is a link to WinAPI structure to convert' will be ignored.

OpenThread() API still remains missing also. I found the following Prototype OpenThread(dwDesiredAccess.l,bInheritHandle.l,dwThreadId.l)

_________________Thankyou to all the coders who generously helped & encouraged me in the nearly 2yrs when i was welcome here,it was a tremendous privilege. I learned a lot. I wish you and your families all the best and success for the future.

_________________Thankyou to all the coders who generously helped & encouraged me in the nearly 2yrs when i was welcome here,it was a tremendous privilege. I learned a lot. I wish you and your families all the best and success for the future.

PROBLEM: I'm having no luck with the current x64 version of MEMORY_BASIC_INFORMATION as it's currently defined internally to PB (i know it is intended to work due to the inserted alignment padding variables but there's still a problem):

SOLUTION: It works perfectly fine simply by adding Align #PB_Structure_AlignC to the existing internal x86 definition (i'm learning that structure alignment seems to be a common requirement on Win x64 , very handy to have thanks Fred!):

_________________Thankyou to all the coders who generously helped & encouraged me in the nearly 2yrs when i was welcome here,it was a tremendous privilege. I learned a lot. I wish you and your families all the best and success for the future.

Like a copyleft notify: all the source code created by me and posted on Purebasic official forums is free to use and modification in all possible (and several impossible) ways for anyone, without asking my permission

Last edited by Lunasole on Mon Nov 07, 2016 9:59 am, edited 1 time in total.

_________________Thankyou to all the coders who generously helped & encouraged me in the nearly 2yrs when i was welcome here,it was a tremendous privilege. I learned a lot. I wish you and your families all the best and success for the future.

Like a copyleft notify: all the source code created by me and posted on Purebasic official forums is free to use and modification in all possible (and several impossible) ways for anyone, without asking my permission