Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!satisfied.elf.com!news.mathworks.com!newshost.marcam.com!news.kei.com!world!amzi
From: amzi@world.std.com (Amzi!)
Subject: Re: Prolog for Windows??
Message-ID: <D30t4o.117@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
References: <D2yp1r.E2y@pdd.3com.com>
Date: Thu, 26 Jan 1995 16:14:48 GMT
Lines: 35

>Does anyone know of a prolog compiler that can produce windows DLL's?
>I am working on a project for my Final Year Degree course which needs to have
>a rules-base core that can be called from a Visual Basic programe. As 
>far as I understand VB can make calls to DLL's.

The Cogent Prolog runtime is provided in a number of formats, including  
a .DLL callable from Visual Basic.  In fact, a good portion of the 
design of the calling interface (the Logic Server API) is based on the 
capabilities of VB.  Essentially the interface lets you issue queries as 
you would in a Prolog ?- listener, and map the Prolog variables to Basic 
variables.  You can pass strings, longs, ints and floats.  Cogent 
includes a .BAS file containing all the DLL definitions.

(All VB needs is the declarations to call any function in a DLL including 
the Windows SDK).

The complete system with compiler, debugger, IDE, listener, DLL and C/C++ 
LIBs is $298.  No royalties.

There is a sample (with full source code in the help system) on 
our FTP/Gopher site.  (Although I have been informed they are having some 
problems with it today.)  The site is ftp.std.com (login as anonymous) 
and look in ftp/vendors/amzi/programs/WGENESFX.EXE and WGENESFX.TXT (the 
latter is the installation instructions).

If you would like more information and/or don't have access to FTP, please 
contact us at amzi@world.std.com

Mary Kroening

-- 

     ,_O<  Amzi! inc.    40 Samuel Prescott Dr.   >O_,
     ( )                   Stow, MA 01775, USA     ( )
 ~~~~~~~~~--------------------------------------~~~~~~~~~~~
