.net appliocatin won't run


  • Got a .net 4.5.1 application which loads a few C functions implemented in Visual Studio Express 20112 (C++), which I call my i2c.dll responsible for communiacting towards a i2c device.

    I can exercise the i2c device drivers through it's providers applications, so I don't think I've got a driver problem, rather a dll load/runtime problem.

    My C# -> i2c.dll-> Device Driver application run's fin on Win7(x64) but when running on Win 8 (x64) It won't start and dependency walker is telling me that it can't locate a few dll's

    API-MS-WIN-CORE-PRIVATEPROFILE-L1-1-1.DLL, and a few other API-MS-WIN-CORE filess. Seams to me that I'm missing some run time libraries, but can't figure out what to install. Also tried running the application in win7 comparability mode without luck.


    Friday, January 31, 2014 9:00 AM


  • Hi Duncan,

    There are many changes between Windows 8 and Windows 7. Different versions or changed file names for related DLL files will cause your issue to run app applied to Windows 7 on Windows 8 system.

    To see if there is any corrupted system files, you can try follow command to scan system:

    SFC /scannow

    Please run it as administrator, any error message for corrupted files, you can find in CBS.log.

    Use the System File Checker tool to repair missing or corrupted system files

    If the issue still persists after we repair the system, please try to use process monitor during running this application to capture the behavior, then, let we see if there is any “Access denied” or “Name not found” error for this process.

    Process Monitor v3.05

    How to use, please refer to this article:


    Using Process Monitor to capture system events

    You can also upload the saved log file to a file sharing service like Skydrive or "Rapidshare" and put a link to them in your reply. Let’s check it together to find the root cause of this issue.

    Look forward to your response.

    Kate Li
    TechNet Community Support

    Monday, February 03, 2014 4:13 AM