前一段时间接触了一下交互式服务程序,发现有时候程序不能正常启动,或者不能创建新的窗口甚至菜单,今天到网上搜索了一下相关资料,才发现这些问题都和一个称为“Desktop Heap”的东西相关。
以下列出一些主要的相关链接:
1、KB184802 PRB: User32.dll or Kernel32.dll Fails to Initialize
2、KB225102 PRB: “Failed initialization on Comctl32.dll” from a Service
3、KB142676 Overcoming User32.dll Initialization Failure Errors
4、Q126962 “Out of Memory” Error Message Appears When You Have a Large Number of Programs Running
5、Increasing the Desktop Application Heap
6、Operating System Constraints Affecting the Scalability of PowerBuilder DataStores in EAServer
还有一个链接和本话题属于远亲:
1、Q165194 CreateProcessAsUser() windowstations and desktops