We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 444 - 'GWLP_HINSTANCE' : undeclared identifier
Summary: 'GWLP_HINSTANCE' : undeclared identifier
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 1.2.11
Hardware: x86 Windows (XP)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-21 17:24 UTC by Jason
Modified: 2007-06-21 17:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason 2007-06-21 17:24:18 UTC
Having sorted out the MMX thing, I now get this when I attempt to build the SDL:

sdl_sysmouse.c(175) : error C2065: 'GWLP_HINSTANCE' : undeclared identifier

This is the call that fails:
	/* Create the cursor */
	cursor->curs = CreateCursor(
			(HINSTANCE)GetWindowLongPtr(SDL_Window, GWLP_HINSTANCE),
					hot_x, hot_y, allowed_x, allowed_y, 
						cursor->ands, cursor->xors);

I did a Windows search on files, looking for this ident, but the only one that came up with it in was the sdl_sysmouse.c... FYI, I got this before I put the proc pack in, but didn't do anything about it thinking the PP would resolve it, but it doesn't...
Comment 1 Ryan C. Gordon 2007-06-21 17:45:27 UTC
This got fixed as a separate issue in the same patch that I did for Bug #442, so the latest in Subversion (specifically, revision #3097 for the 1.2 branch and #3098 for the 1.3 branch) should work for you.

These fixes will be in the upcoming 1.2.12 release, too.

--ryan.