나는 hecom32.dll
이라는 DLL이 있습니다. 내 응용 프로그램에서 이것을 사용하고 싶습니다. 나는 다음과 같은 ACLL :C++ 응용 프로그램에서 캔트 가져 오기 dll
#import "hecom32.dll"
그리고 나는 다음과 같은 오류가 발생합니다 :
enter Error 1 error C1083: Cannot open type library file: 'c:\users\dvargo\documents\visual studio 2010\projects\johnny\johnny\hecom32.dll': Error loading type library/DLL. c:\users\dvargo\documents\visual studio 2010\projects\johnny\johnny\johnny.cpp 6 1 Johnny
은 분명히 그것을 추가 기운 다. 나는 무엇이 잘못되었는지를 결정하는 것은 확실하지 않습니다. 파일을 분석하여 가져올 수없는 이유를 확인할 수있는 방법이 있습니까? dll에서 함수를 사용하는 다른 방법이 있습니까?
내가 hecom32.dll는 COM 서버를 구현하고 리소스로 포함 된 형식 라이브러리가있는 경우에만이 제대로 작동 비주얼 스튜디오 2010
DLL과 같은 소리에는 형식 라이브러리가 없습니다. –
http://msdn.microsoft.com/en-us/library/et4zwx34%28v=vs.80%29.aspx – selalerer