Saturday, 15 October 2011

64 bit build of the Microsoft Effects11 DLL

On request, I've added a 64 bit build my DLL version of the Microsoft Effects11 library.

See http://www.jsbmedical.co.uk/DirectXForDelphi/D3DX11 effects DLL.

Note that the dlls for both Win32 (x86) and x64 have the same file name. On a 64 bit OS the 32 bit dll should go in "C:\Windows\SysWOW64" and the 64 bit dll in "C:\Windows\System32". Alternatively the appropriate version can go in the same folder as the *.exe file that uses it. You can use Delphi build events to copy the appropriate dll version from a standard folder to your project output folder. Using build events to do this is useful because it means that you can delete all the files in the output folder prior to performing a release build, and the dll will be replaced during the build. It also means that when the master copy of the dll is updated it will get copied to each project output folder when that project is built.

I've not tested the x64 dll with Delphi XE2 yet as my trial version has expired.

JB.

2 comments:

  1. [ On a 64 bit OS the 32 bit dll should go in "C:\Windows\SysWOW64" and the 64 bit dll in "C:\Windows\System32"]

    - You mean the 64 in SysWOW64 and 32 in System32?

    ReplyDelete
    Replies
    1. No - see http://en.wikipedia.org/wiki/WoW64 for more information. (Microsoft chose some unintuitive folder namings for their 64 bit OS).

      Cheers,

      JB

      Delete