Thanks, so after compiling i will have an exe file (for example in windows). But what i have to do to use it at puredata? Will it be a puredata object like [print] for example, that prints "Hello world?"
no, you must end up with a .dll file. you can use the makefile in pd\doc\6.externs you just have to modify line 8 with the actual external name line 13 for your VC path line 15: edit PDNTINCLUDE putting your pd path line 21: put the correct path to pd.lib
when you have that dll you will have a puredata object, put it into the extra folder (or keep it in your working directory) and you'll be able to use it.
ciao, davide.