Re: C# to Prolog Integration

Jan Wielemaker <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
On 04/02/2014 07:50 PM, Gutierrez, Mario wrote:
> Hello All,
> 
> Any help with the errors below would be appreciated. I still have not been able to receive any help, anyone with expertise or any experience with .dll's would be nice.

Carlo send a promising reply:

    'Assembly generation : referenced assembly targets a different
processor'

Possibly, you are mixing 32 and 64 bit dlls?

Anyway, this just requires knowledge about and tools for Windows dll loading
and debugging.  Possibly you need to rebuild the C# interface.  Contact Uwe
Lesta for that.

	Cheers --- Jan

> 
> 
> I used the new DLL file that you referred me to, and once I did that I received a new error. The image I attached [Error_With_New_File.png] shows the error I received when I tried running.  I was wondering if maybe you can help me and pointing me in the direction I need to go in order to be able to integrate Microsoft Visual C# 2010 with swi-prolog.
> 
> I also attached a print screen of my project references in the image [my_References]. I am not able to reference libswipl.dll or  pthreadGC2.dll . The image Project_folder I attached shows the .dll files in my project folder but I cannot reference them in Microsoft Visual 2010 because I receive an error. The image reference_error.png displays the error I receive when trying to reference those files.
> 
> Any help that you can give me or advise to help me integrate C# with SWI- prolog would be greatly appreciated.
> 
> 
> Thank You,
> 
> 
> 
> Mario Gutierrez
> Graduate Research Assistant
> Computer Science
> University of Texas at El Paso
> -------------- next part --------------
> HTML attachment scrubbed and removed
> _______________________________________________
> SWI-Prolog mailing list
> [email protected]
> https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.