Hi Yves,
it seems to me that I meet the requirements. Pd opens the dspobj~.dll (i.e. trying to delete it results in an 'file in use' error) and my dspobj_tilde_setup is not static. I just took the example included with pd - no additional changes, just a new makefile for my compiler.
In Alex Burton's paper about writing externals I found something about VC5.0 vs. VC6.0 incompatibility, that's why I guess it could be the compiler. But recompiling pd with my compiler would then result in an 'alien' pd which would not be able to open 'usual' externals...
Olaf
Yves Degoyon schrieb:
well, before suspecting the compiler, there are two "common sense" reasons for this error :
a/ is the compiled extern found by Pd?? ( there should be a -path option to the location of the extern )
b/ is the dspobj_tilde_setup exported in the extern ?? it happened to me when you build your extern as a pd built-in object, this function should not be declared static.
If you meet these requirements, maybe it's a compiler problem.
Yves/