Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7689247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:07:14+00:00 2026-05-31T20:07:14+00:00

Getting system.entrypointnotfoundexception: loadlibrary While trying to use SevenZipLib.dll to uncompress the .7z file containing

  • 0

Getting “system.entrypointnotfoundexception: loadlibrary” While trying to use SevenZipLib.dll to uncompress the .7z file containing media contents/file in the Android evn.

Context:
-The whole program is written in c# as a MONO Android Project. No Build/Deployment Error/warnings.
While running the apk, its throwing “system.entrypointnotfoundexception: loadlibrary”.
-Also tested the same code as windows project (not mono) – uncompressing in the windows evn.

Assumptions for the issue:
7zip internally might be using COM components & Mono frame work is not supporting.

Question:

Has anyone come across similar issue? Please suggest some alternative dll/framework which can be used by my apk for uncompressing the .7z file.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T20:07:15+00:00Added an answer on May 31, 2026 at 8:07 pm

    Assuming that SevenZipLib.dll is the SevenZipLib Library on CodePlex, the problem is SevenZipLib\SevelZipLib\SevenZipArchive.cs:

    [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
    private static extern SafeLibraryHandle LoadLibrary(
      [MarshalAs(UnmanagedType.LPTStr)] string lpFileName);
    

    The project contains numerous P/Invokes into kernel32.dll (LoadLibrary(), GetProcAddress(), FreeLibrary()), ole32.dll (PropVariantClear()), oleaut32.dll (SafeArrayCreateVector()), and more.

    In short, this library is intimately tied to Windows, and isn’t going to work on a non-Windows platform in any meaningful fashion, not without a lot of work.

    If you need 7z support in a Mono for Android application, you’ll need to look into a different library. It looks like the 7-zip SDK includes C# source for reading LZMA files that doesn’t rely on P/Invoke, so perhaps that would work?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Getting System.IO.FileLoadException: Unable to load file or assembly when trying to bind localized resources
I'm trying to update a hashtable in a loop but getting an error: System.InvalidOperationException:
I am getting a system.outofmemory exception in my code: While r1.Read() menu1id = r1(id)
I'm getting an 'System.OutOfMemoryException' when trying to generate some HTML reports. How can I
I keep getting System.OutOfMemory exception in my WinForms App which is thrown while doing
I'm getting System.Data.SQLite.SQLiteException: Unable to open the database file. when I attempt to access
I'm getting an: System.Runtime.Serialization.SerializationException: Unable to find assembly 'myNameSpace, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null When trying
I'm getting a System.DllNotFoundException for a .dll which is in the same folder as
I'm trying to use a settings file to store the user preferences when he/she
I’m getting system error when I try to compile the code below on Visual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.