DirectX exception in Windows 8

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
mopensoft
Posts: 146
Joined: Tue Dec 04, 2012 3:33 pm
Location: Melbourne, Australia
Contact:

DirectX exception in Windows 8

Post by mopensoft » Thu Apr 04, 2013 11:31 pm

I got the following exception when building OD version 12.4 on Windows 8:
- "The system cannot find the file specified.":"Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
I doesn't happen on my Windows 7 at all.
Also, it only appears when you select graphic option as DirectX OR access database from a computer not in ComputerRef list where default GraphicSimple is DirectX and DirectXFormat is empty (check computerpref table in the database).

Anyway, if you encounter this problem, please remove Microsoft.DirectX.Direct3D from your OpenDental reference list and add it again from Required dlls\Microsoft.DirectX.Direct3D.dll. It works on my system.

Cheers
H

User avatar
jsalmon
Posts: 1555
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: DirectX exception in Windows 8

Post by jsalmon » Sun Apr 07, 2013 10:08 pm

That's interesting. I haven't heard that before. I'll update the reference path in the project to point to the required dlls folder by default so that this won't happen for other people in the future.
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

d2dental
Posts: 31
Joined: Wed Sep 01, 2010 10:00 pm
Location: Mumbai, India
Contact:

Re: DirectX exception in Windows 8

Post by d2dental » Thu May 30, 2013 6:44 am

I am using win 8 64 bit with directx 11.0. and open dental 12.4.65 (foreign) version. when I try to opt for directx graphics from file menu, no format is compatible with the device. what would be the solution?

User avatar
jsalmon
Posts: 1555
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: DirectX exception in Windows 8

Post by jsalmon » Thu May 30, 2013 9:00 am

Try the steps in the "Troubleshooting sequence if DirectX is not working properly" section on this page: http://opendental.com/manual/graphics.html
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

Post Reply