undefined identifier GWL_USERDATA

torhu no at spam.invalid
Mon Jun 30 11:46:11 PDT 2008


Jim Gadrow wrote:
> Ok, I'm trying to create a windows application and I am experiencing an error when storing and retrieving a pointer from a window long.
> 
> I receive the 'Error: undefined identifier GWL_USERDATA' message when compiling unless I add:
> 
> extern (Windows) int GWL_USERDATA;
> 

Try adding this instead of that:

const GWL_USERDATA = -21;



More information about the Digitalmars-d mailing list