View Single Post
Old 06-04-09, 07:04 PM   #2
Zhivago
*BANNED*
 
Join Date: Jan 2008
Posts: 184
Default Re: visual c++2008 rejecting standard windows fucntions in imported project

Quote:
Originally Posted by darrenls59 View Post
hello. I imported a project which i wrote in visual c++ 2007. It worked fine in 2007 but when i imported into 2008 and it wouldn't compile. the errors were based on unresolved eternal links for functions like MessageBox, GetWindowHandle etc. the include file is there so i can only assume that for some reason 2008 hasn't imported the appropriate libraries. Can anyone tell me how to resolve this?
For the MessageBox function, you will need to include User32.lib into your project.
Read here for more info: http://msdn.microsoft.com/en-us/libr...05(VS.85).aspx
Zhivago is offline   Reply With Quote