MySQL JDBC 설치파일
zip파일을 풀면 mysql-connector-java-~~~.jar파일이 있다 이것을 자바가 설치된 곳에 가서
jre/lib/ext에 가서 그냥 jar파일 그대로 넣어주면된다
그리고 환경변수에 가서 jre/lib/ex폴더를 환경변수에 추가하면된다.

'공부하자... > JAVA' 카테고리의 다른 글

자바 벡터와 스택  (0) 2010.11.29
자바 GUI그려주는 프로그램  (0) 2010.11.26
자바설치  (0) 2010.11.24
자바 프로젝트 스케쥴러  (3) 2010.11.24
Java for Beginner  (0) 2010.10.05

// asdfasdcasdc.cpp : 콘솔응용프로그램에대한진입점을정의합니다.

//

 

#include "stdafx.h"

#include "asdfasdcasdc.h"

 

#ifdef _DEBUG

#define new DEBUG_NEW

#endif

 

 

// 유일한응용프로그램개체입니다.

 

CWinApp theApp;

 

using namespace std;

 

int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])

{

        int nRetCode = 0;

 

        // MFC를초기화합니다. 초기화하지못한경우오류를인쇄합니다.

        if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0))

        {

               // TODO: 오류코드를필요에따라수정합니다.

               _tprintf(_T("심각한오류: MFC를초기화하지못했습니다.\n"));

               nRetCode = 1;

        }

        else

        {

               // TODO: 응용프로그램의동작은여기에서코딩합니다.

 

               //오늘의날짜/시간을아래와같이출력

               //2010.11.22() 10:28

               char *date[7] = {"","","","","","",""};

               CTime today;

               today = CTime::GetCurrentTime();

 

               cout <<

                       today.GetYear() << "." << today.GetMonth() << "." <<

                       today.GetDay() << "("<< date[today.GetDayOfWeek()-1] << ") " <<

                       today.GetHour() << "." << today.GetMinute() << endl<< endl;

 

 

               //오늘날짜에서붜1000일후의날짜는?

               //CTime - CTime = CTimeSpan

               //CTime + CTimeSpan = CTime

 

               cout << " 1000일후" << endl;

               CTimeSpan span(1000,0,0,0);

 

               today += span;

               cout <<

                       today.GetYear() << "." << today.GetMonth() << "." <<

                       today.GetDay() << "("<< date[today.GetDayOfWeek()-1] << ") " <<

                       today.GetHour() << "." << today.GetMinute() << endl;

 

        }

 

        return nRetCode;

}

 

'공부하자... > 윈도우 프로그래밍' 카테고리의 다른 글

MFC 프로그램의 구조  (0) 2010.11.29
윈도우 프로그래밍의 활용  (0) 2010.11.24
MFC 윈도우 창에 C++ 형태로 화면출력  (0) 2010.11.17
윈도우 프로그래밍의 기초  (0) 2010.11.10
과제  (0) 2010.11.08





o Router B1 interface Fa0/0 supports 60 hosts.
o Router B1 interface Fa0/1 supports 60 hosts.
o Router B2 interface Fa0/0 supports 30 hosts.
o Router B2 interface Fa0/1 supports 30 hosts.
o Router B3 interface Fa0/0 supports 10 hosts.
o Router B3 interface Fa0/1 supports 10 hosts.
o Router HQ interface Fa0/0 supports 5 hosts. 
o Router HQ interface Fa0/1 supports 5 hosts. 

ISP
Router(config)#int fa 0/0
Router(config-if)#ip add 209.165.202.129 255.255.255.252
Router(config-if)#no sh
Router(config-if)#int s 0/0/0
Router(config-if)#ip add 209.165.201.1 255.255.255.252
Router(config-if)#no sh
Router(config-if)#ip route 10.2.0.0 255.255.255.0 s0/0/0
Router(config)#ena sec class
Router(config)#lin con 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#lin vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#hostname ISP
B1
Router(config)#int fa 0/0
Router(config-if)#ip add 10.2.0.1 255.255.255.192
Router(config-if)#no sh
Router(config-if)#int fa 0/1
Router(config-if)#ip add 10.2.0.65 255.255.255.192
Router(config-if)#no sh
Router(config-if)#int s 0/0/0
Router(config-if)#ip add 172.17.1.226 255.255.255.252
Router(config-if)#no sh
Router(config-if)#route rip
Router(config-router)#network 10.0.0.0
Router(config-router)#network 172.17.0.0
Router(config-router)#no auto-summary
Router(config-router)#passive-interface fa 0/0
Router(config-router)#passive-interface fa 0/1
Router(config-router)#version 2
Router(config-router)#end
Router(config)#ena sec class
Router(config)#lin con 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#lin vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#hostname B1
B2
Router(config)#int fa 0/0
Router(config-if)#ip add 10.2.0.129 255.255.255.224
Router(config-if)#no sh
Router(config-if)#int fa 0/1
Router(config-if)#ip add 10.2.0.161 255.255.255.224
Router(config-if)#no sh
Router(config-if)#int s 0/0/0
Router(config-if)#ip add 172.17.1.230 255.255.255.252
Router(config-if)#no sh
Router(config-if)#route rip
Router(config-router)#network 10.0.0.0
Router(config-router)#network 172.17.0.0
Router(config-router)#no auto-summary
Router(config-router)#passive-interface fa 0/0
Router(config-router)#passive-interface fa 0/1
Router(config-router)#version 2
Router(config-router)#end
Router(config)#ena sec class
Router(config)#lin con 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#lin vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#hostname B2
B3
Router(config)#int fa 0/0
Router(config-if)#ip add 10.2.0.193 255.255.255.240
Router(config-if)#no sh
Router(config-if)#int fa 0/1
Router(config-if)#ip add 10.2.0.209 255.255.255.240
Router(config-if)#no sh
Router(config-if)#int s 0/0/0
Router(config-if)#ip add 172.17.1.234 255.255.255.252
Router(config-if)#no sh
Router(config-if)#route rip
Router(config-router)#network 10.0.0.0
Router(config-router)#network 172.17.0.0
Router(config-router)#no auto-summary
Router(config-router)#passive-interface fa 0/0
Router(config-router)#passive-interface fa 0/1
Router(config-router)#version 2
Router(config-router)#end
Router(config)#ena sec class
Router(config)#lin con 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#lin vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#hostname B3
HQ
Router(config)#int fa 0/0
Router(config-if)#ip add 10.2.0.225 255.255.255.248
Router(config-if)#no sh
Router(config-if)#int fa 0/1
Router(config-if)#ip add 10.2.0.233 255.255.255.248
Router(config-if)#no sh
Router(config-if)#int s 0/0/0
Router(config-if)#ip add 209.165.201.2 255.255.255.252
Router(config-if)#clock rate 64000
Router(config-if)#no sh
Router(config-if)#int s 0/0/1
Router(config-if)#ip add 172.17.1.225 255.255.255.252
Router(config-if)#clock rate 64000
Router(config-if)#no sh
Router(config-if)#int s 0/1/0
Router(config-if)#ip add 172.17.1.229 255.255.255.252
Router(config-if)#clock rate 64000
Router(config-if)#no sh
Router(config-if)#int s 0/1/1
Router(config-if)#ip add 172.17.1.233 255.255.255.252
Router(config-if)#clock rate 64000
Router(config-if)#no sh
Router(config-if)#ip route 0.0.0.0 0.0.0.0 s0/0/0
Router(config-if)#route rip
Router(config-router)#network 10.0.0.0
Router(config-router)#network 172.17.0.0
Router(config-router)#no auto-summary
Router(config-router)#passive-interface fa 0/0
Router(config-router)#passive-interface fa 0/1
Router(config-router)#passive-interface s 0/0/0
Router(config-router)#default-information originate
Router(config-router)#version 2
Router(config-router)#end
Router(config)#ena sec class
Router(config)#lin con 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#lin vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#hostname HQ

HQ-B1-S1-PC1
IP Address 10.2.0.62
Subnet Mask 255.255.255.192
Default Gateway 10.2.0.1

HQ-B1-S2-PC2
IP Address 10.2.0.126
Subnet Mask 255.255.255.192
Default Gateway 10.2.0.65

HQ-B2-S3-PC3
IP Address 10.2.0.158
Subnet Mask 255.255.255.224
Default Gateway 10.2.0.129

HQ-B2-S4-PC4
IP Address 10.2.0.190
Subnet Mask 255.255.255.224
Default Gateway 10.2.0.161

HQ-B3-S5-PC5
IP Address 10.2.0.206
Subnet Mask 255.255.255.240
Default Gateway 10.2.0.193

HQ-B3-S6-PC6
IP Address 10.2.0.222
Subnet Mask 255.255.255.240
Default Gateway 10.2.0.209

HQ-S7-PC7
IP Address 10.2.0.230
Subnet Mask 255.255.255.248
Default Gateway 10.2.0.225

HQ-S8-PC8
IP Address 10.2.0.238
Subnet Mask 255.255.255.248
Default Gateway 10.2.0.233

#include <afxwin.h>

 

// 응용프로그램클래스를선언한다.

class CHelloApp : public CWinApp

{

public:

    virtual BOOL InitInstance();

};

 

// 메인윈도우클래스를선언한다.

class CMainFrame : public CFrameWnd

{

public:

    CMainFrame();

 

protected:

    afx_msg void OnPaint();

    afx_msg void OnLButtonDown(UINT nFlags, CPoint point);

    DECLARE_MESSAGE_MAP()

};

// 응용프로그램객체를선언한다.

CHelloApp theApp;           첫번째. 실행

 

// 응용프로그램클래스를정의한다.

BOOL CHelloApp::InitInstance()    두번째. initintance 실행

{

    m_pMainWnd = new CMainFrame;

    m_pMainWnd->ShowWindow(m_nCmdShow);

    return TRUE;

}

 

// 메인윈도우클래스를정의한다.

CMainFrame::CMainFrame()

{

    Create(NULL, "HelloMFC Application");

}

// 응용프로그램객체를선언한다.

CHelloApp theApp;

 

// 응용프로그램클래스를정의한다.

BOOL CHelloApp::InitInstance() 번째. 실행

{

    m_pMainWnd = new CMainFrame;

    m_pMainWnd->ShowWindow(m_nCmdShow);

    return TRUE;

}

 

// 메인윈도우클래스를정의한다.

CMainFrame::CMainFrame()

{

    Create(NULL, "HelloMFC Application");

}

void CMainFrame::OnPaint()

{

    char *msg = "Hello, MFC";

    CPaintDC dc(this);

    dc.TextOut(100, 100, msg, lstrlen(msg));

}

 

void CMainFrame::OnLButtonDown(UINT nFlags, CPoint point)

{

    MessageBox("마우스를클릭했습니다.", "마우스메시지");

}

 

// 메시지맵을선언한다.

BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)

    ON_WM_PAINT()

    ON_WM_LBUTTONDOWN()

END_MESSAGE_MAP()

 

'공부하자... > 윈도우 프로그래밍' 카테고리의 다른 글

MFC 프로그램의 구조  (0) 2010.11.29
윈도우 프로그래밍의 활용  (0) 2010.11.24
유틸리티 클래스와 집합 클래스  (0) 2010.11.22
윈도우 프로그래밍의 기초  (0) 2010.11.10
과제  (0) 2010.11.08

DB connect 파일에 밑에 빨간줄을 추가 하면된다.
(dbconn.php)


<?
$connect=mysql_connect("","root","root") or

 die("sql연결불가능");
 mysql_query("set names euckr");
 
mysql_select_db("php5_db",$connect);
?>

'공부하자... > PHP' 카테고리의 다른 글

HTML 텍스트상자 입력후 자동 칸넘김  (0) 2010.10.26
주민등록번호 공식  (0) 2010.10.26



ISP-R1
cisco -> en -> class -> conf t->
ip route 10.1.0.0 255.255.0.0 s0/0/0
ip route 172.20.0.0 255.255.0.0 s0/0/1

ISP-R2
cisco -> en -> class -> conf t->
ip route 10.1.0.0 255.255.0.0 s0/0/1
ip route 172.20.0.0 255.255.0.0 s0/0/0

R1
cisco -> en -> class -> conf t->
int s 0/0/0 -> ip add 10.1.255.241 255.255.255.252 -> clock rate 64000 -> no sh
int s 0/0/1 -> ip add 10.1.255.245 255.255.255.252 -> clock rate 64000 -> no sh
int s 0/1/0 -> ip add 10.1.255.249 255.255.255.252 -> clock rate 64000 -> no sh
ip route 0.0.0.0 0.0.0.0 s 0/1/1
route rip ->
de -> tab -> o -> tab -> Enter
pa -> tab -> s0/1/1
network 10.1.0.0
version 2 -> no auto-summary


B1-R1
en -> conf t ->
hostname B1-R1
int fa 0/0 -> ip add 10.1.0.1 255.255.224.0 -> no sh
int fa 0/1 -> ip add 10.1.32.1 255.255.224.0-> no sh
int fa 1/0 -> ip add 10.1.64.1 255.255.224.0 -> no sh
int fa 1/1 -> ip add 10.1.96.1 255.255.224.0 -> no sh
int s 0/0/0 -> ip add 10.1.255.242 255.255.255.252 -> no sh
route rip ->
network 10.1.0.0
pa -> tab -> fa 0/0
pa -> tab -> fa 0/1
pa -> tab -> fa 1/0
pa -> tab -> fa 1/1
version 2 -> no auto-summary

B2-R1
en -> conf t ->
hostname B2-R1
int fa 0/0 -> ip add 10.1.128.1 255.255.240.0 -> no sh
int fa 0/1 -> ip add 10.1.144.1 255.255.240.0 -> no sh
int fa 1/0 -> ip add 10.1.160.1 255.255.240.0 -> no sh
int fa 1/1 -> ip add 10.1.176.1 255.255.240.0 -> no sh
int s 0/0/0 -> ip add 10.1.255.246 255.255.255.252 -> no sh
route rip ->
network 10.1.0.0
pa -> tab -> fa 0/0
pa -> tab -> fa 0/1
pa -> tab -> fa 1/0
pa -> tab -> fa 1/1
version 2 -> no auto-summary

B3-R1
en -> conf t ->
hostname B3-R1
int fa 0/0 -> ip add 10.1.192.1 255.255.248.0 -> no sh
int fa 0/1 -> ip add 10.1.200.1 255.255.248.0 -> no sh
int fa 1/0 -> ip add 10.1.208.1 255.255.248.0 -> no sh
int fa 1/1 -> ip add 10.1.216.1 255.255.248.0 -> no sh
int s 0/0/0 -> ip add 10.1.255.250 255.255.255.252 -> no sh
route rip ->
network 10.1.0.0
pa -> tab -> fa 0/0
pa -> tab -> fa 0/1
pa -> tab -> fa 1/0
pa -> tab -> fa 1/1
version 2 -> no auto-summary


R2
cisco -> en -> class -> conf t->
int s 0/0/0 -> ip add 172.20.255.241 255.255.255.252 -> clock rate 64000 -> no sh
int s 0/0/1 -> ip add 172.20.255.245 255.255.255.252 -> clock rate 64000 -> no sh
int s 0/1/0 -> ip add 172.20.255.249 255.255.255.252 -> clock rate 64000 -> no sh
ip route 0.0.0.0 0.0.0.0 s 0/1/1
ip route 172.20.0.0 255.255.240.0 s 0/0/0
 ip route 172.20.16.0 255.255.248.0 s 0/0/1
 ip route 172.20.24.0 255.255.252.0 s 0/1/0

B1-R2
en -> conf t ->
hostname B1-R2
int fa 0/0 -> ip add 172.20.0.1 255.255.252.0 -> no sh
int fa 0/1 -> ip add 172.20.4.1 255.255.252.0 -> no sh
int fa 1/0 -> ip add 172.20.8.1 255.255.252.0 -> no sh
int fa 1/1 -> ip add 172.20.12.1 255.255.252.0 -> no sh
int s 0/0/0 -> ip add 172.20.255.242 255.255.255.252 -> no sh
ip route 0.0.0.0 0.0.0.0 s 0/0/0

B2-R2
en -> conf t ->
hostname B2-R2
int fa 0/0 -> ip add 172.20.16.1 255.255.254.0 -> no sh
int fa 0/1 -> ip add 172.20.18.1 255.255.254.0 -> no sh
int fa 1/0 -> ip add 172.20.20.1 255.255.254.0 -> no sh
int fa 1/1 -> ip add 172.20.22.1 255.255.254.0 -> no sh
int s 0/0/0 -> ip add 172.20.255.246 255.255.255.252 -> no sh
ip route 0.0.0.0 0.0.0.0 s 0/0/0

B3-R2
en -> conf t ->
hostname B3-R2
int fa 0/0 -> ip add 172.20.24.1 255.255.255.0 -> no sh
int fa 0/1 -> ip add 172.20.25.1 255.255.255.0 -> no sh
int fa 1/0 -> ip add 172.20.26.1 255.255.255.0 -> no sh
int fa 1/1 -> ip add 172.20.27.1 255.255.255.0 -> no sh
int s 0/0/0 -> ip add 172.20.255.250 255.255.255.252 -> no sh
ip route 0.0.0.0 0.0.0.0 s 0/0/0
 
완성파일
설명서
계산방법

CS_HREDRAW
-> 윈도우의 수평 크기 변경시 WM_PAINT 발생

HINSTANCE / HWND / HMENU / HDC

핸들 스스템 관리 자원에 대한 식별자, 메모리에 로드된 시작주소


#include <windows.h>

HINSTANCE hInstance;

/*
이 윈도우 프로시져는 아래 WinMain에서 등록되는 "Hello2"라는 윈도우 클래스에 속하는
윈도우들의 생성과 파괴, 생성된 윈도우에서 사용자와의 인터페이스와 관련된
메시지들을 처리( handling )하는 함수입니다.

함수의 이름은 사용자가 함수를 선언하고 정의할때 임의로 작성할 수 있지만
프로토타입의 형식( 파라메타 리스트와 리턴타입 )은 그 형식을 따라야합니다.

hwnd : 윈도우 핸들
iMsg : 메시지 번호

wParam :
lParam : 메시지의 종류에 따라서 추가적인 정보를 wParma와/또는 lParam로 전달합니다.
              예)
              WM_LBUTTONDOWN이라는 메시지는 사용자가 마우스의 좌측 바튼을

              누룰 때에 발생하는 메시지입니다. 이 메시지와 더불어 좌측바튼이

              눌리워졌을 때 윈도우 클라이언트 영역상에서의 그 위치 죄표가 윈도우의

              lParam로 전달됩니다.
*/


LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
{
  /*
  iMsg를  case로 분기하여 처리합니다.
  여기서는 WM_DESTORY 라는 메시지만 사용자 정의로 처리하고
  나머지는 디폴트 윈도우 함수 DefWindowProc에서 처리하도록 하고 있습니다. */


 switch(iMsg)
 {
      case WM_DESTROY:
            // WM_QUIT 종료 메시지를 thread의 메시지 큐에 포스트하고 리턴합니다.
            PostQuitMessage(0);
            return 0;
 }
  return DefWindowProc(hwnd, iMsg, wParam, lParam);
}

/*
메인 윈도우
MS 윈도우의 메인함수

hInst : 응용프로그램의 현재 인스턴스에 대한 핸들
hPev : 응요프로그램의 이전 인스턴스에 대한 핸들 32 BIT 환경의 응용프로그램에서는

             항상 NULL
szCmdLine : 명령라인에서 전달된 인수에 대한 문자열
iCmdShow : 윈도우를 화면에 나타낼때 나타내는 방법(크기등)과 관련된

                      상수값으로  ShowWindow( ... )의 두번째 파라메타로 사용될 수 있습니다.
*/


int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev,LPSTR szCmdLine, int iCmdShow)
{
 static char szAppName[] ="Hello2";
 HWND hwnd;

 

 // 메시지 구조체 변수선언
 MSG msg;

 // 윈도우 클래스 구조체 변수의 선언
 WNDCLASS wndclass;

 // 인스턴스를 저장
 hInstance = hInst;

  // 윈도우 클래스 정의
 wndclass.style = CS_HREDRAW | CS_VREDRAW;

 

 // 이 윈도우 클래스에 대한 윈도우 프로시저 ( 위에서 선언된 )

 wndclass.lpfnWndProc = WndProc;
 wndclass.cbClsExtra =0;
 wndclass.cbWndExtra =0;

 

 // 이 윈도우 클래스를 생성하는 인스턴스  
 
wndclass.hInstance = hInstance;

 

 // 아이콘 로드  
 wndclass.hIcon = LoadIcon(NULL, IDI_APPLICATION);

 

 // 커서는 IDC_ARROW형을 채택
 wndclass.hCursor = LoadCursor(NULL, IDC_ARROW);

 

 // 윈도우의 배경에 사용될 브러시  

 wndclass.hbrBackground=(HBRUSH) GetStockObject(WHITE_BRUSH);

 

 // 메뉴 이름 

 wndclass. lpszMenuName = NULL;

 

 // 윈도우 클래스 이름 
 wndclass.lpszClassName = szAppName;


 // 윈도우 클래스 등록
 if( !RegisterClass(&wndclass))
    return FALSE;

 // 윈도우 생성
 hwnd = CreateWindow (szAppName, "Hello2",WS_OVERLAPPEDWINDOW, CW_USEDEFAULT,CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,NULL,NULL,hInstance, NULL);

 // 윈도우 나타내기
 ShowWindow(hwnd, iCmdShow);

 // 업데이트 할 것이 있다면 WM_PAINT를 통하여 업데이트한다.
 UpdateWindow(hwnd);

 // 메세지 루프 - 메시지 얻기
 while(GetMessage(&msg, NULL, 0,0))
 {
  // WM_KEYDOWN / WM_KEYUP와 같은 가상키 메시지들을 

  // W M_CHAR / WM_DEADCHAR로 번역한다.
  TranslateMessage(&msg);

  // msg 구조체의 수신자( msg.hwnd )에게 msg를 발송한다.
  DispatchMessage(&msg);
 }
  return msg.wParam;
}

BOOL

Boolean 값을 나타내는 정수 값이다. 여기서는 0이나 1의 값이 들어간다.

 

BSTR

32비트 character 포인터 값을 의미한다. 자주 보게 되지 않을 것이다.

 

BYTE

unsigned 8비트 정수 값이다. 이를 좀더 보기 쉽게 정의하면 unsingned char정도로 이해하면된다.

 

COLORREF

색상을 나타내는 32비트 값이며, 보통은 RGB매크로를 이용하여 값을 넣는다.

ex) RGB(255,255,255)

 

DWORD

32비트 unsigned 정수이며, 상당히 자주 사용되는 데이터 타입이다. 결국 unsinged int 정도로 보면 될 것이다.

 

LONG

32비트 singned 정수 값이다. ( 일반 int형도 32비트) LONGLONG형으로 사용할 경우 이 형은 double형과 같은 크기를 가지는 64비트 데이터 형이다.

 

LPARAM

32비트 값. 윈도우 프로시저 함수 같은 것에 인자로 넘어오는 데이터형 중 하나다.

 

LPCSTR

32비트 스트링 포인터인데, const형이다. 따라서 const char*정도로 보면 될 것 이다.

 

LPSTR

32비트 스트링 포인터

 

LPCTSTR

유니코드 스트링을 포인트할 수 있는 cont 32비트 스트링 포인터

 

LPTSTR

유니코드 스트링을 포이트할 수 있는 32비트 스트링 포인터

 

LPVOID

32비트 void포이터

 

LRESULT

윈도우 프로시저나 콜백함수가 리턴하는 32비트 값

 

UINT

32비트 unsigned int형

 

WNDPROC

윈도우 프로시저 함수를 포이트하는 32비트 포인터

 

WORD

16비트 unsigned int 값

 

WPARAM

LPARAM과 동일

 

POSITION

MFC collection 클래스(예:CPtrList)에서 객체를 포이트하는 값

 

LPCRECT

RECT 구조체를 포이트하는 값

 

LP라는 접두사가 붙은것은 포인터임.

+ Recent posts