win32 compile errors#16
Conversation
|
The addition of the Traits to the destructor could potentially break the registering/unregistering as they could become unmatched. What we need to is store the Traits (or a copy of) in the Window object so that it can be later referenced. @tomhog, haveyou resolved this issue in your work? |
|
So in my Win32Events branch I am for now retrieving the window class name for the HWND window handle itself. This might be another reason to store the traits in the window |
|
@tomhog, how close are you to getting your Win32Events branch in a state that it can be merged with master? I can add a Traits object to Window, I'm inclined to go with making Traits something created on the heap, then we can subclass from Traits and extend it if really necessary. Let me know what will help at your end. |
|
@vsg-dev Yeah making traits something we can extend is looking more and more appealing. Then we can have a few platform specific bits. There are things like orientations on mobile devices that people may or may not care about. win32-events is good to merge now. I'm just doing a rebuild after pulling in the latest master stuff |
|
@LaurensVoerman, I have just merged @tomhog's Win32 event changes that should address the error you've seen so will close this PR. |
Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes Compile error on Win32
Trying to get things running I found a few problems on win32, and to avoid dupicate work I would like to submit my fixes for merging. As I don't have an executable build yet, nothing is tested.
Regards, Laurens.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: