Original Post
I've got a pointer to structure containing some app data that I want displayed in the dialog box, and I'm using DialogBoxParam (...) to set it as the creation data. During WM_INITDIALOG when I'm retreiving it with data = (DATASTRUCT*) ((CREATESTRUCT*) lParam)->lpCreateParams; The memory address changes from its initial address to 0x00000001. This wreaks havoc with my strings inside the structure. Nothing like this happens when I do the same thing with a normal window. Why is it changing?