Interfacing with C (Windows 98)

From: <>
Date: Thu 04 Jan 2001 09:16:30 PM GMT
Message-Id: <>
I have been trying (unsuccessfully) to execute a C function from Eclipse. I
compiled file (exporting the function), linked eclipse.lib as required and
ended up with a dll file. The file is loaded ok from eclipse. But when I
try to map the function into a predicate using

external(func/1, p_func)

I get the following error:

External function does not exist in external_(func / 1, p_func, eclipse)

*** compilation aborted
before line 2 in the file //E/
calling an undefined procedure end_of_file in module eclipse

I am using Visual C++ 5.0 and Eclipse 5.0. The exact definition of the
function I am trying to use is:

int p_func(value val, type tag)

I would appreciate any help.

Many thanks,

Loizos Michael
Received on Thu Jan 04 21:19:22 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:07 PM GMT GMT