AmziLS / AmziProlog

Amzi! Prolog: complete system to interpret, build, run and debug Prolog programs, but also embed and query them similar to databases.
Other
116 stars 25 forks source link

.NET "Any CPU" binaries not found #22

Open fahadash opened 7 years ago

fahadash commented 7 years ago

The Windows Binaries for amzinet.dll is built on AMD processor architecture and do not work on x64 or x86. Build one with "Any CPU" configuration. Assemblies referencing amzinet.dll are getting runtime errors.

DennisMerritt commented 7 years ago

The Win32 and Win64 builds respectively have as a target machine x86 and x64.  Maybe I’m missing something.

As I’ve moved to open source and am looking for others to get involved in the development, it would be great if you downloaded the sources for amzinet.dll and rebuilt them, and push your fixes back up to the github site.  Or simply email them to me.

https://github.com/AmziLS/interfaces

—Dennis

On March 9, 2017 at 10:27:07 AM, fahadash (notifications@github.com) wrote:

The Windows Binaries for amzinet.dll is built on AMD processor architecture and do not work on x64 or x86. Build one with "Any CPU" configuration. Assemblies referencing amzinet.dll are getting runtime errors.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

fahadash commented 7 years ago

I found the actual issue. In your Managed C++ assembly amzinet, you have to set amzi.dll to DelayLoad in the Linker Settings. I did that and I have no issues. You can do that or I can do that and send you a Pull Request, your call

DennisMerritt commented 7 years ago

A Pull Request for sure.  I am quite happy for you to take a primary role in keeping the .NET interface up to date.

—Dennis

On March 13, 2017 at 10:11:31 AM, fahadash (notifications@github.com) wrote:

I found the actual issue. In your Managed C++ assembly amzinet, you have to set amzi.dll to DelayLoad in the Linker Settings. I did that and I have no issues. You can do that or I can do that and send you a Pull Request, your call

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.