Skip to content
DarkKaiser의 블로그
DarkKaiser의 블로그
  • 개발 관련 자료(노션)
  • Raspberry Pi(노션)
  • WD My Cloud(노션)
  • GitHub
DarkKaiser의 블로그

DDK 설치

DarkKaiser, 2009년 2월 8일2023년 9월 5일
1. 아래의 URL을 통하여 Driver Develop Kit를 다운로드 받는다.
http://www.microsoft.com/whdc/devtools/ddk/default.mspx
다운로드한 DDK ISO 이미지를 이용해서 설치한 후 [내컴퓨터]- [속성] – [고급] – [환경변수]에서
사용자 변수를 추가하도록 한다. 설정 후 재부팅을 해주어야지 적용이 된다.
변수 이름에 대한 것은 아래의 내용을 참고.
For the W2K DDK the environment variable is W2KBASE, and the flag is -W2K.
For the XP DDK the environment variable is XPBASE, and the flag is -XP.
For the Windows 2003 Server  and W2K3SP1 DDK the environment variable is WNETBASE, and the flag is -WNET.
For the LDK (Longhorn Beta build 4051) the environment variable is WLHBASE and the flag is -WLH2. VC++ 디렉토리 경로
– 포함파일에서(include)  DDK 설치폴더의 inc\wxp 와 inc\ddk\wxp 추가3. 그외 필요한 파일.
– DbgView.exe : 디버그 출력 DbgPrint 를 보기위한 파일
– EnumService.exe : 빌드한 *.sys 를 서비스등록 시작을 간편하게 하기 위한 파일
– MAKEFILE : 빌드시 필요한 파일
– SOURCES : 빌드시 수정해야 하는 파일 파일의 명과 파일 경로를 알려준다.!

<MAKEFILE>

  1. #
    # DO NOT EDIT THIS FILE!!!  Edit .\sources. if you want to add a new source
    # file to this component.  This file merely indirects to the real make file
    # that is shared by all the driver components of the Windows NT DDK
    #
  2. !INCLUDE $(NTMAKEENV)\makefile.def

<SOURCES>

  1. TARGETNAME=HelloWorld
    TARGETPATH=obj
    TARGETTYPE=DRIVER
    SOURCES=HelloDriver.c
빌드)
1. 설치된 DDK의 Windows XP Checked Build Environment 프롬프트를 사용하여 빌드한다.
2. MakeFile 과 Sources 파일이 필요하며 Sources만 편집하여 빌드 ‘build’ 하면 된다.
3. 주의 해야 할점은 소스는 .c 로 되어야 하며 한글경로가 포함 되어 있으면 build가 되지 않는다.
WDM DDK

글 내비게이션

Previous post
Next post

답글 남기기 응답 취소

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

최신 글

  • AssertJ 소개testCompile ‘org.assertj:assertj-core:3.6.2’ 2017년 9월 14일
  • 자주 사용되는 Lombok 어노테이션 2017년 9월 14일
  • 유니코드 #3 2017년 9월 14일
  • 유니코드 #2 2017년 9월 14일
  • 유니코드 #1 2017년 9월 14일

최신 댓글

    카테고리

    • 개인 자료 (1)
      • 일기 (1)
    • 주절주절 (7)
    • 프로그래밍 갤러리 (16)
    • 프로그래밍 언어 (186)
      • Java (29)
      • C/C++/VC++ (114)
      • C# (11)
      • Visual Basic (6)
      • 안드로이드 (9)
      • Objective-C (5)
      • JavaScript (4)
      • JSP/Servlet (2)
      • Python (4)
      • 어셈블러 (1)
    • 개발++ (44)
      • Book (11)
        • Joel On Software (10)
      • 프로젝트 관리 (6)
      • Maven (1)
      • 디버깅 (1)
      • DirectX (1)
      • Silverlight (1)
      • RESTful (1)
      • Hacking (1)
      • WDM (4)
      • VoIP (5)
      • 기타 (1)
    • 개발 도구 (15)
      • eclipse (14)
      • Sublime Text (1)
    • 네트워크 (7)
    • 설치 및 배포 (7)
      • InstallShield (2)
      • NSIS (4)
    • 버전 관리 (9)
      • Git (2)
      • CVS (2)
      • Subversion (5)
    • 데이터베이스 (7)
      • Oracle (3)
      • Sybase (2)
      • MS-SQL (2)
    • 단위테스트 (3)
      • JUnit (1)
      • NUnit (2)
    • 버그추적시스템 (2)
      • mantis (2)
    • 운영체제 (7)
      • Windows (5)
      • 리눅스 (2)
    • WAS (3)
      • WebLogic (3)
    • 디자인패턴 (1)
    • 디지털 이미지 프로세싱 (16)

    태그

    Abstract ActiveX AfxParseURL Automation boost devenv.exe event EventLogTraceListener Hover interface IO iTextSharp JAD jar JavaScript Joel Leave MFC Monitor msdev.com MSDN mutable PDF Properties RAW Saturation SHGetFolderPath SHGetKnownFolderPath SQLite STLTask String TextWriterTraceListener URL VI 권한 데이터소스 디컴파일러 문자열 스레드 동기화 스레드 생성 실용주의 프로그래머 자동화 테스팅 파일포맷 프리컴파일

    메타

    • 로그인
    • 엔트리 피드
    • 댓글 피드
    • WordPress.org
    ©2025 DarkKaiser의 블로그 | WordPress Theme by SuperbThemes