Summary

Title:Warning when loading 3dsmax
Category:Crash/Critical
Status:Fixed
Posted By:dgsantana ( Daniel Santana )
Date Created:22 June 2009

Problem

Description:When opening 3dsmax i get a warning about the rcpapi.dll (RPCs) being in used. Heres a copy of the 2 messages. System.IO.IOException: The process cannot access the file 'F:\3ds Max 2010 x64\plugins\rpcapi.dll' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode) at Autodesk.Max.Manager.LoadFile(String filename) --------------------------- Error while loading assemblies System.ArgumentNullException: Array cannot be null. at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection) at System.Reflection.Assembly.Load(Byte[] rawAssembly) at Autodesk.Max.Manager.LoadAssembly(String name) at Autodesk.Max.Manager.LoadAssemblies() at Autodesk.Max.Manager.Initialize()
Steps to Reproduce:- open 3dsmax - a warning appears
I'll have a look at it. Does this also happen if you turn off the dynamic plugin unloading (in Utilities->MaxDotNet options)? I think it could make a difference as it would use Assembly.LoadFile(...) instead of Assembly.Load(...). Marsel

Marsel Khadiyev (Software Developer, EPHERE Inc.)

 Hi Marsel, Yes disabling the dynamic unloading works. Daniel