Skip to main content

Has anyone ever tried to call a .net Core class library from Uniface (v10.3.02 32-bit)?

We do have a working solution to call a .net framework dll by defining signatures. We use DllExport to expose the C# functions to native code.

BUT we want to accomplish the same in .Net CORE.

When testing we use UnmanagedCallersOnly as a substitute for the dllExport, but we always encounter procerror -58.



------------------------------
Johan Van Autreve
Cevi N.V.
BE
------------------------------

Has anyone ever tried to call a .net Core class library from Uniface (v10.3.02 32-bit)?

We do have a working solution to call a .net framework dll by defining signatures. We use DllExport to expose the C# functions to native code.

BUT we want to accomplish the same in .Net CORE.

When testing we use UnmanagedCallersOnly as a substitute for the dllExport, but we always encounter procerror -58.



------------------------------
Johan Van Autreve
Cevi N.V.
BE
------------------------------

Nobody?



------------------------------
Johan Van Autreve
Cevi N.V.
BE
------------------------------

Nobody?



------------------------------
Johan Van Autreve
Cevi N.V.
BE
------------------------------

Good afternoon,

I don't think the problem is with Uniface. It could be the wrong name of the methods in the signature, mapping in the ASN of this DLL. Uniface talks to the DLL fine. The DLL talks to .netCore. If I'm not mistaken, the class names are case-sensitive in Uniface/Signature



------------------------------
Juliano Anoar Haoach Garcia
Suport Analyst
Coamo Agroindustrial Cooperativa
Campo MourĂ£o BR
------------------------------

Good afternoon,

I don't think the problem is with Uniface. It could be the wrong name of the methods in the signature, mapping in the ASN of this DLL. Uniface talks to the DLL fine. The DLL talks to .netCore. If I'm not mistaken, the class names are case-sensitive in Uniface/Signature



------------------------------
Juliano Anoar Haoach Garcia
Suport Analyst
Coamo Agroindustrial Cooperativa
Campo MourĂ£o BR
------------------------------

Thank you for your answer, do you coincidentally have a working DLL and the Visual Studio source project I can try? I can't make it work. The Uniface application now keeps on crashing.



------------------------------
Johan Van Autreve
Cevi N.V.
BE
------------------------------