Giter Site home page Giter Site logo

Windows 11 support about managedesent HOT 7 OPEN

microsoft avatar microsoft commented on May 18, 2024
Windows 11 support

from managedesent.

Comments (7)

mwinterb avatar mwinterb commented on May 18, 2024

Are the database files from Windows 11, and you're trying to access them from a pre-Windows 11 OS? Or are you running your software on Windows 11?

from managedesent.

mrthaggar avatar mrthaggar commented on May 18, 2024

from managedesent.

mwinterb avatar mwinterb commented on May 18, 2024

I've been trying to find documentation stating it, but I haven't been successful. But: ESENT database files will contain backwards compatible-breaking changes with new Windows versions (I don't know how the Windows 10 series was handled, maybe only when LTSB versions of it / Server were released?). So Windows 11 can read files from Windows 10, which can read 8.1, which can read 8. But Windows 8.1 cannot read files from Windows 10. This is true even if you're not using any features from a later version.
Since ManagedEsent is a "thin" layer over the Windows esent.dll rather than a re-implementation of the database engine, there's nothing that can be updated.
I don't know if it's supported, but perhaps building https://github.com/microsoft/Extensible-Storage-Engine/ and this project from scratch (updating

private const string EsentDll = "esent.dll";
to point to your new DLL) would work if you only need read-only access (since writes may make the database unreadable on older OS's).

from managedesent.

mrthaggar avatar mrthaggar commented on May 18, 2024

Thanks for the info.

I'll give what you suggested a try, and let you know how I get on.

from managedesent.

mrthaggar avatar mrthaggar commented on May 18, 2024

Based on your suggestion, I rebuilt both libraries from scratch, and this time used the esent.dll I pulled from a Windows 11 installation.

The library is now working, as is able to read from the Windows 11 databases, on Windows 10.

Thanks for your help.

from managedesent.

CBenghi avatar CBenghi commented on May 18, 2024

Hello,
I wonder if there are any plans to start a distribution of the interop that packs the dll like suggested in this thread.
This would allow to read/write shared from multiple clients without concerns for the version of Esent.dll shipped with the OS.

As far as I can tell this would be compatible with the MIT licenses of the c++ and c# interop libraries.

Any views?
Thanks
Claudio

from managedesent.

hsing1120 avatar hsing1120 commented on May 18, 2024

hi,mrthaggar
could you provide new dll for win11?

from managedesent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.