Apples 64 bit documentation says,
The Window Manager is 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
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.