Skip to main content
Ctrl+K

jiangsheng's docs

  • Homepage
  • Games
  • Blogs
  • Grandma's handbook
  • Homepage
  • Games
  • Blogs
  • Grandma's handbook

Indices

  • General Index
  • Posts tagged Assembly language

Posts tagged Assembly language

Error 3e6 with WriteFile

  • 27 June 2005
  • Sheng Jiang
  • Win32
  • Assembly language

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.

Read more ...


© Copyright 2018-, Sheng Jiang.

Created using Sphinx 9.1.0.

Built with the PyData Sphinx Theme 0.17.1.