C# Unmanaged Func works with NETStandard but fail in NETCore

Just starting out? Need help? Post your questions and find answers here.
zikitrake
Addict
Addict
Posts: 834
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

C# Unmanaged Func works with NETStandard but fail in NETCore

Post by zikitrake »

Has anyone worked with calls to .NET lib functions from PB? (using UnmanagedExports.Repack and UnmanagedExports.Repack.Upgrade)

When I create a library in NETSTANDARD 2.1 everything works OK.
But if the library is in .NET CORE 3.1 (or lower), my PB program closes with the message "The debugged executable quit unexpectedly"

Here I put simple capture of 2 examples of libraries (NetStandard2 and NetCore3)
NET STANDARD 2.1 image
Image

NET CORE 3.1 image
Image

And the PB Results:
Image

Thank you and happy holidays :!:

PS: I tried 3F/DllExport v1.7.3 but I get always an infinite loop when execute it