Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / SDK / Maya fails to load module dependent on IEFrame.dll
  RSS 2.0 ATOM  

Maya fails to load module dependent on IEFrame.dll
Rate this thread
 
62717
 
Permlink of this thread  
avatar
  • Total Posts: 2
  • Joined: 10 December 2011 12:08 PM

I have written a .mll module that makes use of a device interface DLL which has a dependency on IEFrame.dll.  In doing some background research I found that in versions of Internet Explorer 7 and later, IEFrame.dll has at least one unresolved imports. I used a product called Dependency Walker and it shows that it has three.  Versions of my interface DLL have been in use for more than a decade with literally hundreds of products, so I know it is stable, even with the underlying dependency on IEFrame.dll.  But it seems that Maya’s method for validating modules before loading will not accept the unresolved imports.

Has anyone else run into this and created a work-around or have an idea to help me resolve this?



Replies: 1
/img/forum/dark/default_avatar.png

Solved it.  It was a path issue.  My interface DLL needed to go into the bin directory, while my resource DLL must be in the plug-in directory with my MLL file.  The IEFrame.dll finding was a proverbial red herring.  For those interested, I solved it by explicitly loading each of the first level library dependencies and when they all loaded ok I knew it was likely a path problem.  Sure enough, moving the interface DLL to bin form plug-ins fixed it.  Being new, it threw me off that my resource DLL must be in the plug-ins directory, but that is a side effect of how Windows handles satellite DLLS I suppose.

Author: daddyskates

Replied: 10 December 2011 01:38 PM