guilhermito / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

vs2010 Windows x64 build cannot find GWL_HINSTANCE #552

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate vs2010 projects via .gyp files
2. Open solution and change platform to X64
3. build

What is the expected output? What do you see instead?

expected: warnings referring to integer casts such as "uint64_t to uint32_t"

actual: inside winuser.h GWL_HINSTANCE is '#undef'd. I assume that we are 
supposed to use GetWindowLongPtr and GWLP_HINSTANCE instead.

What version of the product are you using? On what operating system?

OS: win7sp1 64bit
IDE: vs2010/2012

Please provide any additional information below.

point of interest is inside crash_generation_app.cc

Original issue reported on code.google.com by zahir.te...@gmail.com on 28 Nov 2013 at 12:18

GoogleCodeExporter commented 9 years ago
gyp files have been updated to VS2013 and work for x64 - set 
GYP_MSVS_VERSION=2013 and re-run gyp.

Original comment by wfh@chromium.org on 23 Apr 2014 at 5:32