hehe ,.. ok i got it working now .. i did some investigating [reading] and i began to understand the problem of exporting a funtion ...
thanks .
joge .
----- Original Message ----- From: "joge ." gboy@nycap.rr.com To: pd-list@iem.kug.ac.at Sent: Monday, February 25, 2002 1:04 AM Subject: Re: [PD] pianoroll on nt .
thanks for the responce . i am not sure i understand what you mean by the #ifdef ? why would i
need
that ? wouldnt that only make sense if i was using c++ ? i am not too familiar with programming dll's . i should clarified by saying that i am tring to get Yves pianoroll object
to
compile on nt .
thanks .
joge .
----- Original Message ----- From: "mark" mark@junklight.com To: "joge ." gboy@nycap.rr.com; pd-list@iem.kug.ac.at Sent: Sunday, February 24, 2002 3:42 PM Subject: RE: [PD] pianoroll on nt .
make sure you are exporting the function "pianoroll_setup" properly. If you have a working library there you should be able to find the syntax - I haven't got it here I'm on the wrong machine.
its something like:
#ifdef __C++_SYMBOL__ (find out what this is ) extern "C" { #endif
__declspec(dllexport) setup_function()
#ifdef __C++_SYMBOL__ (find out what this is ) } #endif
cheers
mark
-----Original Message----- From: joge . [mailto:gboy@nycap.rr.com] Sent: 24 February 2002 19:50 To: pd-list@iem.kug.ac.at Subject: [PD] pianoroll on nt .
hi ,
i just got the pianoroll.dll compiled on my machine [i used the
workspace
from idelay~ and modifed the dependences and some names]. any how , now
i
try to load it into pd [both 34 and 35] and i says it can't find the "pianoroll_setup" symbol .
here is the exact message :
load_object: Symbol "pianoroll_setup" not found pianoroll: can't load library
anybody know what this might be. i read some earlier posts that the
code
itself should work fine on both linux and windows, only the compilation
is
different.
oh yeah.. and to get it to compile using the pd 34 libraries i had to
change
one of the variable names that seems to have changed in pd 35.
i got idelay~ compiled and running fine on my machine so i am not sure
what
the problem could be .
any help would be greatly appreciated .
joge .