본문 바로가기

베리베리514

same subnet 문제 [LARTC] Load balancing on multiple NICs with iproute bert hubert ahu@ds9a.nl Sat, 17 Mar 2001 12:45:43 +0100 Previous message: [LARTC] Load balancing on multiple NICs with iproute Next message: [LARTC] Load balancing on multiple NICs with iproute Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] -------------------------------------------------------------------------------- On Fri,.. 2009. 9. 26.
[WIN32] 타이틀바 높이 알아내기 타이틀바의 높이를 알아 올 일이 생겼습니다. API 함수를 쓰면 쉽게 해결 할 수 있습니다. int WINAPI GetSystemMetrics(int nIndex ); 사실 GetSystemMetrics 함수는 매개변수에 따라 여러가지 기능을 하는데요. 주로 시스템의 구성이나 설정을 얻어올 때 사용됩니다. 시스템 영역의 정보를 얻어오려면 이 함수의 기능을 찾아보면 거의 있습니다. 그중에서 이번엔 타이틀바의 높이를 알아오는 방법을 알아보겠습니다. 타이틀바의 높이는 SM_CYCAPTION 플래그를 매개변수로 넣어주어 리턴되는 값으로 얻어 올 수 있습니다. 2009. 9. 23.
CString 형변환 출처 : http://rainbird.springnote.com/pages/152001?print=1 CString 형변환 CString -> BYTE BYTE* temp; CString cmd; 에서 cmd 의 값을 temp에 할당하려 할때. temp=new BYTE[255]; temp=(LPBYTE)(LPCSTR)cmd; delete []temp; or CString str = _T("abcd"); BYTE* pbyte = new BYTE[256]; int nSize; nSize = str.GetLength(); CopyMemory( pbyte, str.GetBuffer(nSize), nSize ); pbyte[nSize] = 0; or strcpy(szNamePlace,(LPCTSTR)name); .. 2009. 9. 21.
전세계 종교순위 Catholic Church 1,100,000,000 Sunni Islam 1,000,000,000 Eastern Orthodox Church 325,000,000 Jinja Honcho 83,000,000 Anglican Communion 77,000,000 Assemblies of God 50,000,000 Ethiopian Orthodox Church 35,000,000 Evangelische Kirche in 독일 (EKD) 27,400,000 Iglesia ni Cristo (based in the Philippines) 27,000,000 Sikhism 23,000,000 Juche (North Korea) 19,000,000 Seventh-day Adventist Church 16,811,5.. 2009. 9. 21.