Skip to main content
gamedev.net
🔒 Locked

GetClientRect

Started by ucfchuck 0 replies 1k views
Original Post
ucfchuck
ucfchuck
this is all in visual studio 08 c++ with the june sdk for directx10 im trying to move some directx10 code into a dll for use in c#, i used a windows forms control library and windows forms app to try and test it. and after dealing with the managed and unmanaged errors and such the linker started giving me problems about lnk2028 and lnk2019 for unresolved externals and unresolved tokens. most of them i was able to clear up by linking the directx10 libraries in the properties of my project but i have not been able to find out what library to link for using GetClientRect() i have tried including all of the x86 directx libraries and it is still unresolved. does anyone know where it is defined? or can i get the forms rectangle another way??
Mike nl
Mike nl
Try user32.lib, as indicated on GetClientRect's doc page.
Million-to-one chances occur nine times out of ten!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.