forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SetWindowPos (win32api.ins) error

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
StamK



Joined: 12 Oct 2016
Posts: 159

PostPosted: Thu Oct 13, 2016 2:49 pm    Post subject: SetWindowPos (win32api.ins) error Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Thu Oct 13, 2016 3:53 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group