Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fancycode/MemoryModule #220

Open
mortany opened this issue Feb 14, 2023 · 1 comment
Open

fancycode/MemoryModule #220

mortany opened this issue Feb 14, 2023 · 1 comment
Labels

Comments

@mortany
Copy link

mortany commented Feb 14, 2023

Steps to reproduce:

. . .

  • DllExport: 1.7.4
  • Used Visual Studio / MSBuild: vs2022

Im write simple DLL with that code:

using System.Runtime.InteropServices;

namespace SampleSharpDLL
{
    public class Class1
    {
        [DllExport]

        static int TestInt()
        {
            return 11134;
        }
    }
}

and tried call LoadFromMemory from this repo https://github.com/fancycode/MemoryModule
and got this:
image

But when I try to load the library directly via LoadLibrary everything works. In this regard, I have a question - why is 4096 missing, is this error related to the module that I'm trying or probably I made a mistake when setting some parameters ( DllExport.bat )

Tell me, have I come to the right place or should I redirect this question to the developers of fancycode module :D

@mortany mortany added the bug label Feb 14, 2023
@3F
Copy link
Owner

3F commented Feb 17, 2023 via email

@3F 3F added question and removed bug labels Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants