Re: open_dll() with FreeBSD

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Mon, Jan 13, 2003 at 12:49:24PM +1100, Patrick.Barnes at transgrid.com.au
wrote:
> 
> Welll....
> 
> Obviously the define_c_proc is returning a -1.....
> 
> perhaps the open_dll("") call is incorrect?

open_dll("") works fine on Linux.

Try this:

include dll.e
? open_dll("")

What does that do ck?

-jbrown

> 
> -----Original Message-----
> From: C. K. Lester [mailto:cklester at yahoo.com]
> Sent: Monday, 13 January 2003 12:53
> To: EUforum
> Subject: Re: open_dll() with FreeBSD
> 
> 
> This ain't workin':
> 
> -- Start Non-Functioning Code
> include dll.e
> 
> constant prn = define_c_proc(open_dll(""), "printf", {C_INT})
> c_proc(prn, {1})
> -- End Non-Functioning Code
> 
> I get this:
> 
> -- result of running above code
> /home/cklester/Desktop/killme.exu:4
> c_proc/c_func: bad routine number (-1)
> --> see ex.err
> 
> -- end of result
> 
> What's goin' on?
> 
> ==^^===============================================================
> This email was sent to: Patrick.Barnes at transgrid.com.au
> 
> 
> TOPICA - Start your own email discussion group. FREE!
> 
> 
> ***********************************************************************
> 
> 
> ***********************************************************************
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!

-- 
 /"\  ASCII ribbon
 \ /  campain against
  X   HTML e-mail and
 /*\  news and unneeded MIME

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu