Maarten Boekhold wrote:
Maarten Boekhold wrote:
I can post my test program if anybody is interested...
Please see attached.
Damned and double damned... The previous version had an obvious error in
it. Sorry all for wasting your band-width. Attached is a correct version.
Maarten
vartest.tar.
Maarten Boekhold wrote:
I can post my test program if anybody is interested...
Please see attached.
$ tar zxf vartest.tar.gz
$ cd vartest
$ ./autogen.sh
...
$ make install
...
$ /usr/local/bin/plugintest.exe 5
** Message: trying to open /usr/local/lib/cygplugin.dll
val coming from the executable:
Hi Brian,
Don't know if you noticed, but the thread you are referring to was
started by me as well :) All the material discussed in there I managed
to apply just fine.
However, that thread deals with importing *functions*, not variables. I
created a stand-alone test in which the plugin is tryi
Maarten Boekhold wrote:
> suppose I have application A, that loads (gmodule_open) a module B. 'A'
> contains a variable:
>
> A.c:
> G_MODULE_EXPORT int var = 1;
>
> B refers to that variable:
>
> B.c:
> G_MODULE_IMPORT int var;
>
> B is linked with a A.def file:
On Fri, 8 Oct 2004, Maarten Boekhold wrote:
> Hi,
>
> suppose I have application A, that loads (gmodule_open) a module B. 'A'
> contains a variable:
>
> A.c:
> G_MODULE_EXPORT int var = 1;
>
> B refers to that variable:
>
> B.c:
> G_MODULE_IMPORT int var;
>
> B is linked wi
Hi,
suppose I have application A, that loads (gmodule_open) a module B. 'A'
contains a variable:
A.c:
G_MODULE_EXPORT int var = 1;
B refers to that variable:
B.c:
G_MODULE_IMPORT int var;
B is linked with a A.def file:
A.def:
IMPORTS
var = A
6 matches
Mail list logo