Home Image-Pro Automation (Macros, Apps, Reports)

Otolith app crashing

Hi. I am using the Otolith app v9.1 and it keeps on crashing. An error appears  in the project workbench saying " Specified cast is not available,  line 2766, character 1.  Line 2766 reads "For Each t As McGraphObjText In _annotationOverlay"...not sure whats happening but your help would be much appreciated! 

Thanks, 

Eimear


Answers

  • Hi Eimear,
    The version of the Otolith app should include 3 numbers like this: 9.1.4 – last version. I suspect, the error is in the GetComment function. This is fixed function:

        Private Function GetComment As McGraphObjText
            If _annotationOverlay IsNot Nothing Then
                For Each go As McGraphObj In _annotationOverlay
                    If go.ClassName = "McGraphObjText" AndAlso go.UserData IsNot Nothing AndAlso go.UserData.ToString = "Otolith_Comment" Then
                        Return go
                    End If
                Next
            End If
    
            Return Nothing
        End Function
    

    Thanks,
    Nikita.

  • Hi Nikita. Thanks for the reply. I am still having issues with the app. How do I uninstall the version of the app that I have currently? How do I get version 9.1.4? I cannot see it on the solutions zone all I see is one created on Nov 2013 which is obviously incorrect.

    Thanks,

    Eimear
  • Nikitia I should add the problem is now on line 856
     i = cbSCalib.Items.Add(sc.Name)...not sure whats happening.

    Thanks,
    Eimear
  • Hi NikitaRG,

    Your fixed GetComment function here worked for my "Otolith app error" here:

    http://forums.mediacy.com/discussion/comment/1515#Comment_1515

    Thanks for all of your solutions! They have been super helpful :D

Sign In or Register to comment.