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

Closed
mortany opened this issue Feb 14, 2023 · 2 comments
Closed

fancycode/MemoryModule #220

mortany opened this issue Feb 14, 2023 · 2 comments

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
@3F
Copy link
Owner

3F commented Dec 17, 2024

I don't see a problem for correct implementation.
You need to contact fancycode/MemoryModule in order to upgrade their MemoryModule using the information from my comment above and so on. I'm closing the issue but feel free to continue if needed.

@3F 3F closed this as completed Dec 17, 2024
@3F 3F added the 3rd-party label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants