[RESOLVED] XtoMdl error P3d 4.5 HF1 SDK

jabloomf1230
Posts: 236
Joined: Thu Nov 01, 2012 7:40 pm

[RESOLVED] XtoMdl error P3d 4.5 HF1 SDK

Postby jabloomf1230 » Tue May 14, 2019 3:00 am

I'm now getting an error with XtoMDL form the P3d 4.5 HF1 SDL.
10:14 PM XtoMDL Error (0): error : Could not load file or assembly 'SlimDX.dll' or one of its dependencies. The specified module could not be found.
There is a version of SlimDX.dll in all of the 3dsmax plugin folders but the file date is older than the file date of XtoMdl.exe.

Clifton Crane
Lockheed Martin
Posts: 997
Joined: Tue Sep 25, 2012 2:34 pm

Re: XtoMdl error P3d 4.5 HF1 SDK

Postby Clifton Crane » Tue May 14, 2019 1:55 pm

Hi jabloomf1230,

How are you running XtoMDL? Are you compiling the MDL during export from 3dsMax or running it through command line?

Usually an error like that would mean that XtoMDL.exe couldn't load the SlimDX.dll. Can you double check that both files are in the same directory?

Thanks.
Clifton Crane
Prepar3D® Software Engineer Sr.

jabloomf1230
Posts: 236
Joined: Thu Nov 01, 2012 7:40 pm

Re: XtoMdl error P3d 4.5 HF1 SDK

Postby jabloomf1230 » Wed May 15, 2019 8:09 pm

I solved my problem. First, all my C++ redistributables were installed and up to date. Second, I opened SlimDX.dll with CFF Explorer and a number of the DirectX 9 dependencies were missing. I went to the MS DirectX download page, downloaded and installed DirectX 9 and now everything works. The files that were missing have file names like D3DX9_43.dll and are located in C:\windows\system32. How I lost DirectX 9 in my Windows 10 installation is a mystery, but the version number of DirectX 9 might also be a factor. DirectX 9 is not automatically installed with Windows 10, but I have enough older 3D apps installed that it should have still been available.


Return to “Software Development Kit (SDK) Questions”

Who is online

Users browsing this forum: No registered users and 6 guests