View Single Post
Old 27 March 2015, 01:11   #5
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,679
Quote:
Originally Posted by Cylon View Post
CopyMem_ is a systemcall. Please make sure you add proper checks if you going to use it.
What checks?

Quote:
Originally Posted by Cylon View Post
Do you really want to COPY the type?
Yes, in fact, I need to copy a whole list of that type.
Quote:
Originally Posted by Cylon View Post
Code:
*tdst.foo = tsrc      ;"clone" the struct by taking over the address
Shouldn't this be:
Code:
*tdst.foo = &tsrc
idrougge is offline  
 
Page generated in 0.04318 seconds with 11 queries