Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advice on) your project
See About the Installation & Troubleshooting category.
Please edit your post, select all code and click the <CODE> button to apply so-called code tags and next save your post. It makes it easier to read, easier to copy and the forum software will display it correctly.
Can you please give a proper description of your problem? "Can't work" is not giving people much to go on with. It might also be useful to post the MaxMsp 'code' so people who are familiar with maxMSP can load it and have a look at it; I think that the extension is maxpat (it's a little too long ago that I fiddeld with it).