"guard" <guard@ficnet.net> wrote:
>
> Dear SLao
>
> sorry,I had remove @VALUE@
> and
> RUN "dllwrap -o pltcl.dll --def pltcl.def pltcl.o
> ../../../src/utils/dllinit.o -lcygipc -lcrypt -ltcl80 -L../../backend -lpost
>
> have get pltcl.dll
> but call function is error
>
> create function pltcl_call_handler() returns opaque
> as '/lib/pltcl.dll'
> language 'C'; ...........................is OK
>
> create trusted procedural language 'pltcl'
> handler pltcl_call_handler
> lancompiler 'PL/Tcl'; .............................. is OK
>
> CREATE FUNCTION to_zero(float8) RETURNS float8 AS '
> return $1
> ' LANGUAGE 'pltcl'; ......................... is OK
>
> select to_zero(5) ..............not ok
> Error: ERROR: pltcl: internal error - cannot create 'normal' interpreter
>
I think you must stop your posts here. From here, my own experience with using PL/TCL is weak. Maybe the general or the
interfacesmailist may help you more at this point.
SLao
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/