I,m trying to pass a pointer along with the CreateWindow function, to initialize some data.
this whould be possible, and i thought the lParam was for that... but when i put a pointer in there, the CREATEDATA->lpCreateParams in the LPARAM of the WM_CREATE message point to garble...
well, my app. hangs because of this.
Can someone give me an example how to do this? I read that in NT4 this is done a bit differently?
compiler: VC++ 5.0
weird stuff: no MFC/OWL etc