Caching DLL's RRS feed

  • Question

  • I have a C++/3D game in the App store that I introduced almost two years ago.  It has many levels and each level is a .DLL with big chunks of POD data. During the development it was very common to tweak and tune these levels many times, and each time I recompiled the .DLL was updated and the new level/changes evaluated.

    I am starting to work on a new version of my app and I am discovering that this work-flow is not working any more. When I change the data that makes up the level .DLL I see the .DLL getting compiled and built, but when the app runs it seems to be using a cached version of the .DLL.  The only thing I can do to get the new .DLL to load over the cached one is to reboot my PC every time I want to make a change to a .DLL.  Not good.

    1) Is it possible to confirm that the caching of .DLL's by Windows 8 has changed over the past two years in some update.

    2) Is there a way to turn this off, or bypass the caching in some way.


    Monday, December 1, 2014 8:21 PM


  • Hello,

    Are you incrementing the version number of the library under the linker settings with each new version of the library? It is always a good idea to rev the version number so Windows knows there is a new version to load.

    Also make sure that the libraries are being deployed properly to the app folder. Keep in mind that you can't just overwrite the files and expect them to work. You must go through the deployment process before any binaries will be updated.

    I hope this helps,


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Tuesday, December 2, 2014 1:40 AM