Creating original object in C

Aug 27, 2013 at 6:27am

Creating original object in C

Hello,

I have recently started making objects in C, but having a trouble with creating one from scratch or simply renaming the existing one. I have successfully played around with examples editing them, but I hit the wall when I simply want to create an object with another name. If I make a copy of the example and rename the project it does create the object with the new name but in Max it shows up with no inlets or outlets and not working properly.

What do I do?

Thanks,

Ivan

#260046
Aug 27, 2013 at 6:47am

I am using Xcode 4.6.3 with Max 6, and SDK 6.1.3 if that helps

#260047
Aug 27, 2013 at 8:39am

Hi,
Copy the project, open it and rename the project (and the target) in XCode (project inspector -> identity -> project name). Don’t forget to rename the class name in your main function.
Cheers

#260058
Aug 27, 2013 at 8:42am

Hi,

did you also rename the object in the class_new() method of the main function of your external?

HTH,
Ádám

#260059
Aug 27, 2013 at 9:18am

That was it, missed the class name.

Thanks a lot.

#260061

You must be logged in to reply to this topic.