2 Replies Latest reply on Mar 9, 2010 7:12 AM by ggeldorp

    Problemes with Short files names in the virtual environment of ThinApp 4

    JOHN_BILL Lurker

      Some applications call components (InProcess COM) by short names and cannot load such components. The errors are:

       

      Cannot load

      Type mismatch

       

      It seems that short filenames in the virtuel environment are of this form : ???????.DLL and Not ???????.DLL as in Windows.

      Is this true?

       

      Does any body know about this issue?

       

      Thank you.

       

      Bill John

        • 1. Re: Problemes with Short files names in the virtual environment of ThinApp 4
          Master

          Yes, in general Windows uses the ???????.DLL format. The problem with that format is that the short name of the DLL can vary between different machines, depending on what other DLLs with similar names are installed. That's no big problem for native apps, the short name used for registration will match the short name in the filesystem. However, it does present problems when moving an app from one machine to another, like you can do with ThinApp. To work around this, ThinApp uses it's own form of short names, the ???????.??? you mention below.

          We try to make the difference between Windows and ThinApp short names invisible. Seems you ran into a case where we failed. Please file a bug report so we can investigate and fix this.

          • 2. Re: Problemes with Short files names in the virtual environment of ThinApp 4
            JOHN_BILL Lurker

            Thank you for your answer and clear explanation.

             

            As a workaround we have created Windows corresponding short names of all loaded components and the application load the components correctly.

             

            This is penalized for the sandbox size, since all concerned components will take two times their size in the sandbox.

             

            Bill_John