1,Obtain any EPWING dictionaries. 2,Open Dicregate.exe 3,Select [Dictionary]->[Add Dictionary]->[Electronic Dictionary] 4,Choose the dictionary folder, the folder that includes a file…
1,Open "OLE/COM object viewer" from Tool menu of VC6. 2,Find "Microsoft VBScript Regular Expressions 5.5" under "Type Libraries". 3, Double…
Source. Create a traits class that is used as specialized template. Specialize it for char and wchar_t. Generic template is…
Use SHFileOperation(). #include #include #include #include #include "SHDeleteFile.h" BOOL SHDeleteFile(LPCTSTR lpFile) { size_t len = _tcslen(lpFile); if(!lpFile || lpFile[0]==0 ||…
class CSessionGlobalBool { public: explicit CSessionGlobalBool(LPCSTR pName) { m_pName = (LPSTR)LocalAlloc(LMEM_FIXED, lstrlenA(pName)+sizeof(char)); lstrcpy(m_pName, pName); } ~CSessionGlobalBool(){ LocalFree(m_pName); } operator bool()…
Call AllocConsole() at the beginning of your application. Only one console can be allocated for a process. Next, call WriteConsole…
If you are apache fan. You shold have many virtual host in your apache conf. But after your site getting…
You need to create "tmp" directory where php saves session data. In windows its location is typically same folder as…
I just forgot the swap partition to activate. To see the current swap status. # cat /proc/swaps ... To find…
I wanted to reboot my ubuntu server when it got very busy state. After trying monit which I think this…