Posts tagged Assembly language
Error 3e6 with WriteFile
- 27 June 2005
It looks like you will get error 3E6 when you call write file with an address not aligned to DWORD.
Update: Raymond Chen explained the reason in his blog https://devblogs.microsoft.com/oldnewthing/20250605-00/?p=111250, basically Windows SDK requires aligned pointers, except for those decorated with UNALIGNED. E.g.