Integrating C# and Prolog -


I'm working for a project, I want to use some of the user input to language classification, D Want to use the prol version of the database.

I have tried, which works quite well, but WordNet appears to be unable to control the size of the database. It can compile the smallest files out of those files I want to use (218Kb), but when I try to compile two large people (2.3 and 7.3 MB respectively) then this half-hour work Fails and Windows "Something went wrong. Send report to Microsoft?" Dialog.

I have also tried, which does not work very well right now.

Finally, I tried for SWI-Prolog, but they can not get it to work properly. When I try to run the example code, it fails in the PLEngine.Initialize () step, it claims that whatever it tries to load (a DLL I think ) Is an invalid Win32 application (a BadImageFormatException).

Has anyone suggested any other way of integrating C # and Prol, or have I tried to work already, have some suggestions for finding solutions? OS is Windows Server 2008 (64 bit), SWI Prolog version is 5.7.11. Maybe you have problems with 64 bit Windows 32 bit SWI-Prolog if your platform goal is

Any CPU This may be the reason for your problems, you can correct it by opening the property page for the C # project. Select the Build tab and change platform target to x86 .

If you are currently using any CPU Your application in 64-bit Windows will run in 64 bit. Trying to load a 32 bit DLL will fail badly.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -