|
방콕폐인입니다.
영어는 쥐뿔도 모르는 녀석의 발번역본입니다.
Borland C++에서 ZLIB1.DLL 사용
==================================
1. 제공된 헤더파일들 'zlib.h' 와 'zconf.h'를 개발툴의 INCLUDE 경로 리스트에 있는 폴더로 설치하세요 .
2. IMPLIB tool을 사용해서 라이브러리 파일을 만드세요 :
implib -a -c -f lib\zdllbor.lib zlib1.dll
또는
2'. 제공된 라이브러리 파일 'zdll.lib'을 coff2omf 툴을 사용해서 OMF 포멧으로 변환하세요.
coff2omf lib\zdll.lib lib\zdllbor.lib
// 2. 또는 2'. 둘중 한가지 방법으로 BCC에 맞는 라이브러리 파일을 만듭니다.
3. 'zdllbor.lib'을 개발툴의 LIB 경로 리스트에 있는 폴더로 설치하세요.
4. 'zdllbor.lib'를 프로젝트에 추가하세요.
Notes:
- 모듈들은 4-byte 얼라인먼트 옵션(-a)을 사용해서 컴파일 되어야 하고 'zlibbor.lib'와 링크되었습니다.
bcc32 -a -c myprog.c
bcc32 myprog.obj zdllbor.lib
- 원한다면, 생성하는 라이브러리 파일 이름을 'zdllbor.lib' 대신 'zlib1.lib'를 사용해도 됩니다.
도상곤 님이 쓰신 글 :
: 설치하는방법이나 이런게 다 영어로되어있어서
:
: 해석이불가능하네요 ㅠㅠ
:
: Using ZLIB1.DLL with Borland C++
: ================================
: 1. Install the supplied header files "zlib.h" and "zconf.h"
: into a directory found in the INCLUDE path list.
:
: 2. Build the import library using the IMPLIB tool:
: implib -a -c -f lib\zdllbor.lib zlib1.dll
:
: OR
:
: 2' Convert the supplied library file "zdll.lib" to OMF format,
: using the COFF2OMF tool:
: coff2omf lib\zdll.lib lib\zdllbor.lib
:
: 3. Install "zdllbor.lib" into a directory found in the LIB path
: list.
:
: 4. Add "zdllbor.lib" to your project.
:
: Notes:
: - The modules that are linked with "zdllbor.lib" must be compiled
: using a 4-byte alignment (option -a):
: bcc32 -a -c myprog.c
: bcc32 myprog.obj zdllbor.lib
: - If you wish, you may use "zlib1.lib" instead of "zdllbor.lib".
:
: 라고는 나와있긴한데 해석불가능;;
:
: 설치하는방법하고 사용할때 간단한예제소스좀 부탁드립니다.
|