This is my code..

Code:
SendMessage(hEditMain, EM_STREAMIN, SF_TEXT, EditStream);
The error...

Code:
error C2664: 'SendMessageA' : cannot convert parameter 4 from 'struct _editstream' to 'long'
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
EditStream is a structure. I putting (long) next to it and it wont work. Any ideas?