문제

사이트를 통해 인터넷을 통해 일부를 살펴 보았습니다. 불행히도, 나는 발명가 사용자 정의로 전진하지 못하게하는 오류 메시지에 걸쳐 있습니다.

Tools: Visual Studio 2005 sp1, Inventor 11 Stand Alone install
OS: Windows Vista 64 sp1

SDK 폴더 아래에 개발자 도구를 설치했습니다. 그런 다음 COM의 VB.NET 프로젝트에서 Autodesk Inventor Object Library라는 구성 요소에 참조를 추가했습니다. 내 프로젝트에 대한 참조 아래에 다음과 같습니다.

Reference Name: Autodesk Inventor Object Library
Type: COM
Version: 1.0.0.0
Copy Local: True
Path: C:\Users\rschmalt\Visual Studio 2005\Projects\
        InvTest\InvTest\obj\Debug\Interop.Inventor.dll

내 코드는 다음과 같습니다.

'Opens Inventor Apprentice session to read part numbers

Dim oApprentice As New Inventor.ApprenticeServerComponent
Dim asmDoc As Inventor.ApprenticeServerDocument
Dim refDoc As Inventor.ApprenticeServerDocument

asmDoc = oApprentice.Open(strIAMLocation)

For Each refDoc In asmDoc.ReferencedDocuments
  MessageBox.Show(refDoc.FullFileName.ToString)
Next

실행하면 다음 메시지가 표시됩니다.

Retrieving the COM class factory for component with CLSID {C343ED84-A129-11D3-B799-0060B0F159EF} failed due to the following error: 80040154

나는 DLL에 직접 탐색을 시도했다 (Interop.Inventor.dll) 그런 다음 참조에서 .NET 유형으로 표시되지만 오류는 동일하게 유지됩니다.

Vista 64 사이에 충돌이있을 수 있습니까 (발명가 11은 32 비트)? 제안이 있습니까?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top