M
Matt Gilarde
Guest
The ppBuffer and pBytesReturned parameters in the declaration of external procedure WTSQuerySessionInformationA must be INT64 if you're running on 64-bit OpenEdge. These parameters are pointer values and pointers are 64-bits wide in 64-bit processes. The crash is occurring because the value returned in the ppBuffer parameter is being truncated to 32 bits. I won't go into the technical details but this problem could potentially have happened with 11.6. It's almost guaranteed to happen with 11.7 due to changes in recent versions of Windows and a change in the compiler we use to build OpenEdge in 11.7.
Continue reading...
Continue reading...