hello there..
i tried to make the helloworld external described in j.m.zmoelnigs "howto write an external for pd".
i used visual studio .net 2003 to build the dll, and had no errors with it.
then i tried using the external, and this did not work. the dll resides in the same directory as the pd file which should use the helloworld object.
i get this error from the pd main window:
load_object: Symbol "helloworld_setup" not found helloworld ... couldn't create
what a possible mistakes i could have made?
i'm using Pd version 0.39-2.
thank in advance
walter jenner
walter jenner wrote:
hello there..
i tried to make the helloworld external described in j.m.zmoelnigs "howto write an external for pd".
great!
i used visual studio .net 2003 to build the dll, and had no errors with it.
then i tried using the external, and this did not work. the dll resides in the same directory as the pd file which should use the helloworld object.
i get this error from the pd main window:
load_object: Symbol "helloworld_setup" not found helloworld ... couldn't create
what a possible mistakes i could have made?
most likely you haven't read the archives...
http://lists.puredata.info/search/PD-dev?query=helloworld http://lists.puredata.info/search/PD-list?query=helloworld
you must declare a function to be exported, in order to make pd see it; in this case this would be "helloworld_setup"
mfg.asdr IOhannes
On 26/04/06, IOhannes m zmoelnig zmoelnig@iem.at wrote:
walter jenner wrote:
hello there..
i tried to make the helloworld external described in j.m.zmoelnigs "howto write an external for pd".
great!
i used visual studio .net 2003 to build the dll, and had no errors with it.
then i tried using the external, and this did not work. the dll resides in the same directory as the pd file which should use the helloworld object.
i get this error from the pd main window:
load_object: Symbol "helloworld_setup" not found helloworld ... couldn't create
what a possible mistakes i could have made?
most likely you haven't read the archives...
http://lists.puredata.info/search/PD-dev?query=helloworld http://lists.puredata.info/search/PD-list?query=helloworld
you must declare a function to be exported, in order to make pd see it; in this case this would be "helloworld_setup"
specifically, you need to export it like this (for a windows dll):
extern "C" __declspec( dllexport ) void helloworld_setup(void) { ...
pete.