View previous topic :: View next topic |
Author |
Message |
StamK
Joined: 12 Oct 2016 Posts: 159
|
Posted: Thu Oct 13, 2016 2:49 pm Post subject: SetWindowPos (win32api.ins) error |
|
|
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
Code: | INCLUDE <win32api.ins> | .
It is working fine if I compile it in 32bit.
Thanks |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Thu Oct 13, 2016 3:53 pm Post subject: |
|
|
The first argument is a Windows handle (HWND) with type INTEGER*4 for 32 bits and INTEGER*8 for 64 bits. Using INTEGER(KIND=7) hwnd works for both 32 bit and 64 bit. |
|
Back to top |
|
|
|