I wrote a simple firefox extension: only one content script which has only one line of code: console.log(“hello world”); I was confident it was all right. Then, I typed “about:debugging” […]

A formula is valid iff it is true for all models and all variable assignments. Or, a formula is valid iff it is true in all structures(structure=model, which is a […]

The return value of ReadFile is of BOOL type, which means the return value only indicates whether the function succeeds or fails. If the function fails, the return value does […]

The prototype of RegSetValueExA is: LSTATUS RegSetValueExA(HKEY hKey,LPCSTR lpValueName,DWORD Reserved,DWORD dwType,const BYTE *lpData,DWORD cbData); lpData points to the data to be stored in registry. cbData is the number of first […]

Today, we’ll talk about the “simplest” class of Qt, a class we use every day, a class we often do need to care about the details – QString. Despite the […]

When a thread calls CoInitialize(NULL) or CoInitializeEx(NULL,COINIT_APARTMENTTHREADED), it creates a new STA apartment. The creating thread is said to be in the apartment. When the thread later instantiates a COM […]

PE file format

Unlike science, technique is easy to be followed, cracked, hacked, copied, plagiarized, stolen, even surpassed by others so it need some barriers. Why are there so many evil words associated […]