The following problems seems to raise only on Firefox. (Chrome and Edge can play short audio file well)
This problems and solutions are confirmed on Firefox 52.0.2 (32-bit) on Windows 10 (x64)
let list = split(globpath('./,lib,bin,test', '*'), '\v\r?\n') | |
for l in list | |
if !isdirectory(l) && filewritable(l) | |
exec printf('e %s', l) | |
exec 'set ff=unix' | |
exec 'set nobomb' | |
exec '%s/\s*$//' | |
endif | |
endfor |
CL command does not work on the following batch file because build.bat
will stop by showing message "Hit any key to close this window..." before CL. (vcvarsall.bat uses exit /b
)
rem buid.bat
...\vcvarsall.bat x64
cl ...
USE &&
Before continue this article, should read Win32 Window Basic.
To create layered window, call CreateWindowEx
with WS_EX_LAYERED
(https://msdn.microsoft.com/en-us/library/windows/desktop/ff700543(v=vs.85).aspx)
WNDCLASSEX cls;
memset(&cls, 0, sizeof(WNDCLASSEX));
cls.cbSize = sizeof(WNDCLASSEX);
According of my attempt, windbg
could not accomplish this task. dbgview
is one of alternative.
dbgview
is not included to common SDK or Devtools. Can download from: https://technet.microsoft.com/en-us/sysinternals/bb896647.aspx
To use, run dbgview.exe
and configure its filter, finally run debug target application. For modern Windows, must run dbgview.exe
as Administrator, otherwise cannot receive debug messages from common applications.
Note that OutputDebugMessage
(https://msdn.microsoft.com/en-us/library/windows/desktop/aa363362(v=vs.85).aspx) seems to work fine without debug configuration. (/Zi
, /DEBUG
)
So, should do like this for release build:
According to this chart,
WinHTTP
has a lot weak points in comparison with WinINet
. But WinHttp
supports the following features:
The following members of WNDCLASSEX
/WNDCLASS
are mandatory to register class.
Note that name of WNDCLASS
structure is NOT WINDOWCLASS or WNDCLS.