| Summary: | Unable to get hWnd from window in windows 10/vs2015 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Henrik Johansson <texturehandle> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amaranth72 |
| Version: | 2.0.3 | ||
| Hardware: | x86_64 | ||
| OS: | Other | ||
Nope it works. It was me being stupid. Close this. Closed! |
The code :" SDL_Window* window; SDL_Init(SDL_INIT_VIDEO); window = SDL_CreateWindow("Test", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, SDL_WINDOW_SHOWN); SDL_SysWMinfo info; SDL_VERSION(&info.version); SDL_GetWindowWMInfo(window, &info); " Does not work when using windows 10 and visual studio 2015. info.info.win.window will contain garbage data. Version says 2.0.4. Using the latest build from the repo(dbcbdc2940ef) and built sdl using vs2015.