Using pack 'd', ... to pack a value defined as a DWORD is very suspect.
Does using pack 'V', ... work equally well?
In reply to Re^3: Win32::API help by BrowserUk in thread Win32::API help by Zukoff