Quote Originally Posted by Denethor2000
It's a struct. Which I included in the same post..
Yes, I reread your previous post and found that out. You can't assign members of a struct like that -- each member requires its own assign statement.
Code:
Line.processid = GetProcessID();
Line.address = Address;
Line.bytestowrite = Length;
// The next line may not work if sizeof(Line.bytes) > siezof(_Buffer)
memcpy(Line.bytes,_Buffer,sizeof(Line.bytes));