|
C++Builder5.0
프로젝트에 Test.lib , Test.dll 소프 폴더에 있습니다.
현재 프로젝트에
Project Manager
Test.lib 가 삽입 되어 있습니다.
======================================================
VC++ 에 있는 기존 dll 프로젝에 수정하여
TraceVC.h , TraceVC.pp 삽입 하여 디버그 소스를 삽입후
Test.lib , Test.dll 생성했습니다.
1) Test.dll 파일만 CB 프로젝트 폴더에 덮어 쓰기 하니까 build all project
[Linker Error ] Test.lib contains invalid OMF record, type 0x21
나타나서
2) Test.lib 파일을 다른 이름으로 VTest.lib 수정후
coff2omf VTest.lib Test.lib
COFF to OMF Converter Version 1.0.0.74 Copyright <c> 1999, 2000 Inprise Corporation
Test.lib 파일이 생성 되었습니다.
3) CB 프로젝트 폴더에서 기존 Test.lib 삭제후 , 삽입
build all project -> 정상 빌드 되었습니다.
4) 실행을 했지만 , Test.dll 파일의 함수를 실행하지 못하고 다운 되었습니다.
5) Project Manager 에서 Test.lib 파일을 remove from project 하고
Add > Test.lib 하여 추가 하고 > Build All project > Compiling 정상 진행 되었습니다.
실행 파일을 실행 했지만 Test.dll 파일 함수호출이 되지 않고 프로그램 다운
....
위와 같이 했는데 안되서 글을 올립니다.
조언 부탁드립니다.
|