IOhannes m zmoelnig wrote:
Martin Peach wrote:
Is it maybe an issue of the tilde and the ~ not being the same thing? partconv~ and partconv_tilde are not the same name. Martin
they are the same by definition :-) (the setup-function for "object~" IS "object_tilde_setup()")
and you shouldn't use "__declspec(dllexport)" directly since it makes the code non-portable: instead use the macro "EXTERN", which is defined in m_pd.h, depending on which system you are running.
EXTERN in m_pd.h looks like this:
/* the external storage class is "extern" in UNIX; in MSW it's ugly. */
#ifdef MSW #ifdef PD_INTERNAL #define EXTERN __declspec(dllexport) extern #else #define EXTERN __declspec(dllimport) extern #endif /* PD_INTERNAL */ #else #define EXTERN extern #endif /* MSW */
..so it seems that you would need to define PD_INTERNAL as well as MSW to use this.
Martin
mfga.dr. IOhannes
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list