在WndProc中处理WM_CREATE消息时,ABOUT1取得程序的执行实体句柄并将它放在静态变量中:
hInstance = ((LPCREATESTRUCT) lParam)->hInstance ;