flat assembler
Message board for the users of flat assembler.
  
|  Index
      > Windows > fill a member struct | 
| Author | 
 | 
| IronFelix 24 Feb 2009, 13:05 Hi, Alessio!
 Seems to me you should use "lea" instruction here, because szUnknown is not a pointer, but array of bytes: Code: lea ecx,[unknown.szUnknown+edx] invoke lstrcpy,ecx,szBuffer Maybe this will help. | |||
|  24 Feb 2009, 13:05 | 
 | 
| Alessio 24 Feb 2009, 13:54 thank you, it works! | |||
|  24 Feb 2009, 13:54 | 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.