سؤال

ولقد فعلت بعض النظر من خلال الموقع وعلى شبكة الإنترنت في محاولة لإيجاد حل لمشكلة مع تطبيق VB.NET أنا تحاول خلق. للأسف، أنا الحيرة التي كتبها رسالة الخطأ الذي منعني من التحرك إلى الأمام مع أية تخصيصات المخترع.

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

ولقد قمت بتثبيت أدوات المطورين ضمن المجلد SDK. ثم قال لي مرجعا في مشروع VB.NET بلدي في COM لمكون اسمه: مكتبة كائنات المخترع اوتوديسك. يبدو تحت المراجع لمشروعي على النحو التالي:

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

عند I تنفيذه، وأحصل على الرسالة التالية:

<اقتباس فقرة>   

و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) وبعد ذلك يظهر كنوع الصافي في المراجع، ولكن يبقى الخطأ نفسه.

هل من الممكن وجود تعارض بين ويندوز فيستا 64 (المخترع 11 غير 32BIT و)؟ أي اقتراحات؟

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top