<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom .mll won't load for other users in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7334433#M11400</link>
    <description>&lt;P&gt;OK, so I went and installed Visual Studio 2017 on a few machines where my plugin couldn't run. &amp;nbsp;Once I did that those machines were able to load the plugin without issue. &amp;nbsp;So now my question is, what component does VS install that allows the plugin to load? &amp;nbsp;Again I've tried the&amp;nbsp;&lt;A href="http://dependencywalker.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;Dependency walker&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;but&amp;nbsp;I'm not really sure what I'm looking for with that.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2017 21:55:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-28T21:55:54Z</dc:date>
    <item>
      <title>Custom .mll won't load for other users</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7329623#M11397</link>
      <description>&lt;P&gt;I dipped my toe in custom C++ plugin development by modifying Maya's ObjExporter plugin from the DevKit. &amp;nbsp;I have it running perfectly on 2016.5 &amp;amp; 2017 on my personal machine. &amp;nbsp;But when I tried to load the plugin on another users machine I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import maya.cmds as cmds

cmds.loadPlugin("vObjExport.mll",quiet=1)

# Error: Unable to dynamically load : O:/Assets/Animation_Share/VISMO_Tools/Maya/2016.5/Modules/vOBJExporter/plug-ins/vObjExport.mll
The specified module could not be found.
 # 
# Error: The specified module could not be found.
 (vObjExport) # &lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using .mod files to direct Maya to a networked path where I keep shared materials. &amp;nbsp;But I also tried putting the .mll in a local location and loaded it manually. &amp;nbsp;But I still get the same error. &amp;nbsp;At this point I'm at a loss as to why it works for me but not for other users. &amp;nbsp;Maya clearly can see the plugin path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 550px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/394352i971A57D70526A146/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 17:42:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7329623#M11397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-25T17:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custom .mll won't load for other users</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7330280#M11398</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My guess would be missing dlls on client machine. Usually VCRuntime I think. &lt;A href="http://dependencywalker.com" target="_blank"&gt;Dependency walker&lt;/A&gt; is quite useful at this time to figure out which dll is missing on the client.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Sat, 26 Aug 2017 01:44:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7330280#M11398</guid>
      <dc:creator>cheng_xi_li</dc:creator>
      <dc:date>2017-08-26T01:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom .mll won't load for other users</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7333811#M11399</link>
      <description>&lt;P&gt;Thanks for the response Li.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I downloaded the &lt;A href="http://dependencywalker.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;Dependency walker&lt;/A&gt;&amp;nbsp;but I honestly don't know what to do with it. &amp;nbsp;I also don't get why this would effect my plugin. &amp;nbsp;Isn't the concept of compiling the .mll essentially putting everything Maya needs into that file? &amp;nbsp;Otherwise how would you distribute it if you also have to make sure everyone has the same .dll's that you have?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 17:37:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7333811#M11399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-28T17:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom .mll won't load for other users</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7334433#M11400</link>
      <description>&lt;P&gt;OK, so I went and installed Visual Studio 2017 on a few machines where my plugin couldn't run. &amp;nbsp;Once I did that those machines were able to load the plugin without issue. &amp;nbsp;So now my question is, what component does VS install that allows the plugin to load? &amp;nbsp;Again I've tried the&amp;nbsp;&lt;A href="http://dependencywalker.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;Dependency walker&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;but&amp;nbsp;I'm not really sure what I'm looking for with that.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 21:55:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7334433#M11400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-28T21:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom .mll won't load for other users</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7334467#M11401</link>
      <description>&lt;P&gt;OK I figured out what was going on. &amp;nbsp;I was building in "Debug" mode. &amp;nbsp;Once I switched to "Release" mode everything worked as it should. &amp;nbsp;So mark it up to a C++ Newbie mistake!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 22:22:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7334467#M11401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-28T22:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom .mll won't load for other users</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7334563#M11402</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good to know you've solved your issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like I thought, it's vc runtime dll missing. Switching from debug to release will use release runtime libraries. They should be install with Maya 2016.5/2017(VS2012).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, what is dependency walker for?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you load a dll file in dependency walker, check at the module tab. If you found some essential dlls are missing on the client computer, you might want to create an installation package with those dlls or writing an instruction for users.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="depends.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/395022i1B30DB18B0BF21B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="depends.png" alt="depends.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, the picture above suggests that OpenJP2.dll is missing, so I'll need to provide it to the client.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 23:55:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7334563#M11402</guid>
      <dc:creator>cheng_xi_li</dc:creator>
      <dc:date>2017-08-28T23:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom .mll won't load for other users</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7336198#M11403</link>
      <description>&lt;P&gt;Oh excellent thank you! &amp;nbsp;I was having trouble finding a guide on how to use it.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 14:46:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/custom-mll-won-t-load-for-other-users/m-p/7336198#M11403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-29T14:46:18Z</dc:date>
    </item>
  </channel>
</rss>

