operating-system
Detect and wake display in OS X Lion
When the display is sleeping in Lion you can no longer wake it by moving the mouse. I need a way to programatically check if the display is sleeping, and if so wake it.[详细]
2023-03-22 20:42 分类:问答Fixing 403 Forbidden on alias directory with Apache
I am trying to setup an alias to point to some directory on my filesystem not in DocumentRoot. Now I get a 403 Forbidden response. These are the steps taken:[详细]
2023-03-22 18:41 分类:问答"cannot find import" error when running program in Windows XP that uses ChangeWindowMessageFilter
I have a program that runs fine on Windows 7/Vista but gives me an error when I execute it in Windows XP. It used to run but I added a feature that, on windows 7, required the function ChangeWindowMes[详细]
2023-03-22 18:04 分类:问答Singletons: Pros,Cons, Design Concerns [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-03-22 09:38 分类:问答Memory management and Process
Is HEAP local to a process? In other words we have stack wh开发者_如何学编程ich is always local to a process and for each process it is seprate. Does the same apply to heap? Also, if HEAP is local, i[详细]
2023-03-22 06:12 分类:问答What decides the size of virtual address space available for a process?
What is the limitation on the virtual address space available to a process ? Is it 32 bit Vs 6开发者_运维百科4 bit Address bus ?[详细]
2023-03-21 22:59 分类:问答Delphi Detect Word version through Registry
I just added this function which determines which mailmerge method to use. It seems to work on XP and Windows 2000. Is there any reason why it wouldn\'t work on NT, Vista, 7 and other Windows versions[详细]
2023-03-21 21:33 分类:问答can't set background color ttk python os x using styles
With this code fragment, I would expect the label to have a background color red. def createWidgets(self):[详细]
2023-03-21 01:11 分类:问答Do (POSIX) Operating Systems recover resources after a process crashes?
Let\'s assume we have a process that allocates a socket listening on a specific port, does something with it and then terminates abnormaly. Now a second process starts and wants to allocate a socket l[详细]
2023-03-21 00:57 分类:问答Unexpected behaviour with FileInputStream, JAVA
I am in the process of writing an application that processes a huge number of integers from a binary file (up to 50 meg). I need to do it as quickly as possible and the main performance issue is the d[详细]
2023-03-20 21:26 分类:问答