Silverfrost Forums

Welcome to our forums

SetWindowPos (win32api.ins) error

13 Oct 2016 1:49 #18108

When trying to use SetWindowPos in 64bit I am getting the following error

AMD backend failure:Failed to do memory-register emit for MOV

I am using

INCLUDE <win32api.ins>

. It is working fine if I compile it in 32bit.

Thanks

13 Oct 2016 2:53 #18109

The first argument is a Windows handle (HWND) with type INTEGER4 for 32 bits and INTEGER8 for 64 bits. Using INTEGER(KIND=7) hwnd works for both 32 bit and 64 bit.

Please login to reply.