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.Originally Posted by Denethor2000
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));