Import a function inside a DLL Class

Hi everyone,

I’ms severely struggling for days now on a weird problem.

I have my own DLL made in C++ using VS2019 and UE5.2. I can import the global functions (even if they are inside a namespace.

But as soon as I put one function inside a class, GetDllExport returns NULL everytime no matter I export the whole class or specific function, made everything static…etc.

Is it even possible to import a function inside a Dll’s class in Unreal ?

Best regards everyone,

Alex