- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I have a base DLL project test_lib.vfproj which successfully creates a DLL and LIB file in the output directory. I created a cut down project test2_lib.vfproj, by copying the test_lib vfproj file, and edited the vfproj file to rename all occurrences of test_lib to test2_lib, and rebuilt test2_lib.vfproj. However test2_lib.lib is not created (the DLL is). The command line has /IMPLIB:"F:\Proj\tmp\test2_lib\Debug\x64\test2_lib.lib" which is where the DLL is built too.
Any idea why is the LIB not being built?
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Yes, you need to explicitly export one or more routines from the library via a compiler directive:
!DEC$ ATTRIBUTES DLLEXPORT :: routinename
This appears after the subroutine or function statement.
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Yes, you need to explicitly export one or more routines from the library via a compiler directive:
!DEC$ ATTRIBUTES DLLEXPORT :: routinename
This appears after the subroutine or function statement.
