Lists: | pgsql-cygwin |
---|
From: | "SIMON Benjamin" <benjamin(dot)simon(at)laposte(dot)net> |
---|---|
To: | <pgsql-cygwin(at)postgresql(dot)org> |
Subject: | question concerning dll linking |
Date: | 2004-02-24 18:38:15 |
Message-ID: | 000c01c3fb05$5d7ae810$0200a8c0@benji |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-cygwin |
Hello,
I' d like to know if it is possible to create a C function (and the associated dll) that calls functions from another dll ?
For example
CREATE OR REPLACE FUNCTION MyFunction() RETURNS INTEGER
AS 'MyDll'
LANGUAGE 'c';
with code for MyFunction in MyDll.dll and some others calls in MyOtherDll.dll.
Thank you for your answer.
B.S.
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | "SIMON Benjamin" <benjamin(dot)simon(at)laposte(dot)net>, <pgsql-cygwin(at)postgresql(dot)org> |
Subject: | Re: question concerning dll linking |
Date: | 2004-02-29 17:47:22 |
Message-ID: | 200402291847.22560.peter_e@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-cygwin |
SIMON Benjamin wrote:
> I' d like to know if it is possible to create a C function (and the
> associated dll) that calls functions from another dll ?
>
> For example
>
> CREATE OR REPLACE FUNCTION MyFunction() RETURNS INTEGER
> AS 'MyDll'
> LANGUAGE 'c';
>
> with code for MyFunction in MyDll.dll and some others calls in
> MyOtherDll.dll.
Presumably would would have to link MyDll.dll against other
MyOtherDll.dll. Or you can use the command LOAD to load arbitary DLLs
and have your code use them.
From: | Milton Ríos <miltonrios(at)infonegocio(dot)net(dot)pe> |
---|---|
To: | <pgsql-cygwin(at)postgresql(dot)org> |
Subject: | Re: question concerning dll linking |
Date: | 2004-06-08 13:12:37 |
Message-ID: | 005b01c44d5a$454a7740$0201a8c0@PIV |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-cygwin |
Please, I want unsuscribe
Thank you very much
----- Original Message -----
From: SIMON Benjamin
To: pgsql-cygwin(at)postgresql(dot)org
Sent: Tuesday, February 24, 2004 1:38 PM
Subject: [CYGWIN] question concerning dll linking
Hello,
I' d like to know if it is possible to create a C function (and the associated dll) that calls functions from another dll ?
For example
CREATE OR REPLACE FUNCTION MyFunction() RETURNS INTEGER
AS 'MyDll'
LANGUAGE 'c';
with code for MyFunction in MyDll.dll and some others calls in MyOtherDll.dll.
Thank you for your answer.
B.S.
From: | pgsql(at)mohawksoft(dot)com |
---|---|
To: | Milton Ríos <miltonrios(at)infonegocio(dot)net(dot)pe> |
Cc: | pgsql-cygwin(at)postgresql(dot)org |
Subject: | Re: question concerning dll linking |
Date: | 2004-06-08 19:56:32 |
Message-ID: | 23822.64.119.142.34.1086724592.squirrel@mail.mohawksoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-cygwin |
> Please, I want unsuscribe
> Thank you very much
> ----- Original Message -----
> From: SIMON Benjamin
> To: pgsql-cygwin(at)postgresql(dot)org
> Sent: Tuesday, February 24, 2004 1:38 PM
> Subject: [CYGWIN] question concerning dll linking
>
>
> Hello,
>
> I' d like to know if it is possible to create a C function (and the
> associated dll) that calls functions from another dll ?
>
> For example
>
> CREATE OR REPLACE FUNCTION MyFunction() RETURNS INTEGER
> AS 'MyDll'
> LANGUAGE 'c';
>
> with code for MyFunction in MyDll.dll and some others calls in
> MyOtherDll.dll.
>
> Thank you for your answer.
>
> B.S.
I can't see any reason why not.