윈도우 서비스 삭제하기

관리자 모드로 실행된 커맨드 창에


서비스 삭제 하기
> sc delete [서비스명]

서비스 중지 시키기
> sc stop [서비스명]

서비스명은 제어판 각 각 윈도우 마다 다름으로 그나마 공통적인 방법으로
바탕화면 또는 시작 -> 내 컴퓨터 -> 우측 클릭 -> 관리(G)
에 보시면 "서비스 및 응용프로그램" 메뉴가 있습니다.
여기서 서비스 클릭하고서 "이름" 탭에 정보를 확인하시면 됩니다.
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by Naturallaw

, ,
Response
No Trackback , No Comment
RSS :
http://bumis.cafe24.com/tc/NaturalLaw/rss/response/70

클래스 함수 포인터

클래스 내부의 함수를 포인터로 호출
같은 형태의 함수가 여러개가 있을 때 골라서 호출 할 수 있다.

using namespace std;
class CTest
{
public:
 CTest()
  : m_iCount(0)
 { }
 ~CTest()
 { }

 void Test()
 {
  cout << __FUNCTION__ << endl;
  Test2();
 }
 void Test2()
 {
  cout << __FUNCTION__ << endl;
  ++m_iCount;
 }
 void Print()
 {
  cout << m_iCount << endl;
 }
 private:
 __int64 m_iCount;
};

typedef void (CTest::*_Func)(void);
void Test(size_t const iMaxCount, CTest& rkTest, _Func pFunc)
{
 DWORD dwStartTime = ::timeGetTime();
 CTest kTest;
 for(size_t iCur = 0; iMaxCount > iCur; ++iCur)
 {
  (kTest.*pFunc)();
 }
 kTest.Print();
 cout << ::timeGetTime() - dwStartTime << endl;
}


int _tmain(int argc, _TCHAR* argv[])
{
 size_t const iMaxCount = 100;
 CTest kTest1, kTest2;
 Test(iMaxCount, kTest1, &CTest::Test);
 Test(iMaxCount, kTest2, &CTest::Test2);
 return 0;
}
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by Naturallaw

,
Response
No Trackback , No Comment
RSS :
http://bumis.cafe24.com/tc/NaturalLaw/rss/response/69

터치~ 타블렛~

남에 생일날 받는 선물 >_<//
사용자 삽입 이미지

근데 난 뭘 해줄까~?~?~?
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by Naturallaw

, ,
Response
No Trackback , No Comment
RSS :
http://bumis.cafe24.com/tc/NaturalLaw/rss/response/68

« Previous : 1 : 2 : 3 : 4 : 5 : ... 20 : Next »

블로그 이미지

_-_)/ 뭘랄까.......

- Naturallaw

Notices

Calendar

«   2010/02   »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28            

Site Stats

Total hits:
25877
Today:
1
Yesterday:
12