Window Manager API dont work on 64bit Apps. What to use instead?
Apples 64 bit documentation says, The Window Manager is 开发者_Go百科not available to 64-bit applications. For information about using windows in a Cocoa user interface, see Window Programming Guide.
I am not using cocoa so Window Programming Guide is no good for me. I need to use API like HIWindowGetBounds() so that I can get the window position with a coordinate space defined by the screen size in pixels. Or any other way to fetch the window position on screen?
Thank you
I need to support both 32 bit and 64 bit platform and keep code portable.
You cannot.
Carbon is dead. It will never be extended to be 64-bit. It has been dead for years now.
Cocoa is the only option you have.
I'm sorry.
精彩评论