Inventor 2024 PackAndGoLib.PackAndGoComponent CLSID {F2D4F4E5-EEA1-46FF-A83B-A270C92DAE4B} error in 64bit

Inventor 2024 PackAndGoLib.PackAndGoComponent CLSID {F2D4F4E5-EEA1-46FF-A83B-A270C92DAE4B} error in 64bit

a.pournaras
Explorer Explorer
632 Views
6 Replies
Message 1 of 7

Inventor 2024 PackAndGoLib.PackAndGoComponent CLSID {F2D4F4E5-EEA1-46FF-A83B-A270C92DAE4B} error in 64bit

a.pournaras
Explorer
Explorer

Hello everyone,

 

While up until inventor 2023 my code worked just fine (and in fact still does if i use inventor 2023 and not 2024), when I use inventor 2024 then the programm crashes at the line Dim oPacknGoComp As New PackAndGoLib.PackAndGoComponent. The application is compiled for 64bit and the option prefer 32bit is unchecked.

I tried using the dll files from 2023 and from 2024 version but the problem does not go away.

 

What else could be the issue?

 

Thank you very much in advance!

0 Likes
633 Views
6 Replies
Replies (6)
Message 2 of 7

YuhanZhang
Autodesk
Autodesk

Can you try the workaround provided in below post:

 

https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-api-error-quot-ordinal-345-could...

 

Thanks,

Rocky



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 3 of 7

a.pournaras
Explorer
Explorer

Unfortunatelly when trying the steps mensioned on that post I cannot compile the software!

I get the following error message:

 

Severity Code Description Project File Line Suppression State
Error Could not find file 'Microsoft.Windows.Common-Controls, Version=6.0.0.0, Culture=*, PublicKeyToken=6595b64144ccf1df, ProcessorArchitecture=*, Type=win32'. AppName



0 Likes
Message 4 of 7

YuhanZhang
Autodesk
Autodesk

Can you share your project(remove all confidential code from it) to us?

 

Thanks,

Rocky



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 5 of 7

a.pournaras
Explorer
Explorer

Well, that would require a massive refactoring just to send you the project.

What parts of the project do you suspect to be problematic?

Maybe we can focus there.

0 Likes
Message 6 of 7

YuhanZhang
Autodesk
Autodesk

@a.pournaras Can you just create a new simple project and set the Manifest to check if it works?



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 7 of 7

a.pournaras
Explorer
Explorer

@YuhanZhang I confirm that it works.

I added the two inventor dlls that I need in the refences page and it worked with the new manifest.

0 Likes