Jump to content

Archived

This topic is now archived and is closed to further replies.

drewsaw2

deleted d3d9.dll

Recommended Posts

I removed the antilag files from my fsx folder which includes the config file and the d3d9.dll. It wasn't giving me any noticable stability or performance increase so I just deleted them both. However, I just read somewhere that the d3d9.dll was actually created by directX, and the one with antilag was a replacement. Is this true?


CPU: i7-9700KF stable @ 5.0GHz | MOBO: ASUS ROG Maximus XI Hero | GPU: ASUS GTX 1080 Ti @ stock | RAM: G. Skill Trident Z 32GB (2x16GB) 3200Mhz | PSU: Corsair RM850x 80 Plus | COOLING: Deepcool Castle 240 AIO | PANEL: 27" @ 1080p

Share this post


Link to post
Share on other sites
Guest firehawk44
I removed the antilag files from my fsx folder which includes the config file and the d3d9.dll. It wasn't giving me any noticable stability or performance increase so I just deleted them both. However, I just read somewhere that the d3d9.dll was actually created by directX, and the one with antilag was a replacement. Is this true?
Deleting from the FSX folder was the correct thing to do as, if you do not have the ENB shader mod anymore, you do not need this dll installed in FSX as any dll located in your FSX directory will be read by FSX whether you want it read or not. Getting rid of the config and/or initiator file too was the correct thing to do. I got rid of mine too when I removed the ENB mod. Not sure about the antilag files but I wouldn't worry about it if FSX runs okay. The antilag files are located in the Windows/System32 folder and are installed with your video card. Best regards,Jim

Share this post


Link to post
Share on other sites

Thanks Jim. I actually think it was one of your posts that I read. I wanted to be sure I didn't delete something I wasn't suppose to. I am having trouble with a payware scenery, and the only thing I remember doing before the toruble began was removing those two files, but it could be unrelated.


CPU: i7-9700KF stable @ 5.0GHz | MOBO: ASUS ROG Maximus XI Hero | GPU: ASUS GTX 1080 Ti @ stock | RAM: G. Skill Trident Z 32GB (2x16GB) 3200Mhz | PSU: Corsair RM850x 80 Plus | COOLING: Deepcool Castle 240 AIO | PANEL: 27" @ 1080p

Share this post


Link to post
Share on other sites

The "real" d3d.dll file, the one that's part of DirectX, is located in C:\Windows\System32 (and the 64-bit version in C:\Windows\SysWOW64). Applications are written to first look for any dll files they need in their own application folder, before searching the Windows system folders. That's how stuff like Antilag and ENB Series can be enabled automagically by simply putting a replacement d3d.dll file into the FSX folder. If no d3d.dll file exists in the application folder, the standard d3d.dll file from the Windows system folder will be used.


Asus Prime X370-Pro / Ryzen 7 1800X / 16 GB DDR4 3200 MHz / Asus GTX 1070 Turbo
Fractal Design XL R2 / Phanteks PH-TC14PE / Corsair CX650M
2 TB SSD / 4 TB HDD

Share this post


Link to post
Share on other sites
The "real" d3d.dll file, the one that's part of DirectX, is located in C:\Windows\System32 (and the 64-bit version in C:\Windows\SysWOW64). Applications are written to first look for any dll files they need in their own application folder, before searching the Windows system folders. That's how stuff like Antilag and ENB Series can be enabled automagically by simply putting a replacement d3d.dll file into the FSX folder. If no d3d.dll file exists in the application folder, the standard d3d.dll file from the Windows system folder will be used.
I didn't know thats how it worked. Interesting. Thanks

CPU: i7-9700KF stable @ 5.0GHz | MOBO: ASUS ROG Maximus XI Hero | GPU: ASUS GTX 1080 Ti @ stock | RAM: G. Skill Trident Z 32GB (2x16GB) 3200Mhz | PSU: Corsair RM850x 80 Plus | COOLING: Deepcool Castle 240 AIO | PANEL: 27" @ 1080p

Share this post


Link to post
Share on other sites
Guest firehawk44
Thanks Jim. I actually think it was one of your posts that I read.
Glad you got it sorted. I don't ever recall suggesting keeping the d3d9.dlll in the fsx folder and, if I ever did, someone here on this forum would have surely corrected me in the same post. I actually never heard of the Antilag file but know it wasn't part of the original FSX installation and probably an addon. That's why I'm happy JimmiG came on and reinforced my comments. Best regards,Jim

Share this post


Link to post
Share on other sites
The "real" d3d.dll file, the one that's part of DirectX, is located in C:\Windows\System32 (and the 64-bit version in C:\Windows\SysWOW64). Applications are written to first look for any dll files they need in their own application folder, before searching the Windows system folders. That's how stuff like Antilag and ENB Series can be enabled automagically by simply putting a replacement d3d.dll file into the FSX folder. If no d3d.dll file exists in the application folder, the standard d3d.dll file from the Windows system folder will be used.
Well written applications should not put any system files in the FSX folder but should use the default ones in C:\Windows.

Gerry Howard

Share this post


Link to post
Share on other sites

I know this is an old topic, just wanted to say that reading this topic helped me out fixing a big problem, so thanks all!


Laurens Hoornaert

212484.png

Share this post


Link to post
Share on other sites

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    43%
    $10,945.00 of $25,000.00 Donate Now
×
×
  • Create New...