<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: can&#039;t create print object with object_new_typed</title>
		<atom:link href="http://cycling74.com/forums/topic/cant-create-print-object-with-object_new_typed/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/cant-create-print-object-with-object_new_typed/feed</link>
		<description></description>
		<pubDate>Mon, 17 Jun 2013 22:14:18 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/cant-create-print-object-with-object_new_typed/#post-61354</guid>
					<title><![CDATA[can&#039;t create print object with object_new_typed]]></title>
					<link>http://cycling74.com/forums/topic/cant-create-print-object-with-object_new_typed/#post-61354</link>
					<pubDate>Fri, 20 Jan 2012 10:34:08 +0000</pubDate>
					<dc:creator>andrea agostini</dc:creator>

					<description>
						<![CDATA[
						<p>Hi.</p>
<p>I need to create a print object from within my external, and I&#8217;m trying to do it with object_new_typed.</p>
<p>What I found out is that if I try to instantiate it after a print has been created in a Max patch (because I typed it in, or because I have loaded a patch containing one) everything is fine. But if no print object has been instantiated before, then object_new_typed returns NULL.</p>
<p>I suspect this has to do with print being an internal object, and somehow its class not being correctly initialized by object_new_typed &#8211; I think I had already met this problem before&#8230;</p>
<p>&#8230; what can I do???</p>
<p>Thanks!<br />
aa</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/cant-create-print-object-with-object_new_typed/#post-221189</guid>
					<title><![CDATA[Re: can&#039;t create print object with object_new_typed]]></title>
					<link>http://cycling74.com/forums/topic/cant-create-print-object-with-object_new_typed/#post-221189</link>
					<pubDate>Fri, 20 Jan 2012 11:48:28 +0000</pubDate>
					<dc:creator>andrea agostini</dc:creator>

					<description>
						<![CDATA[
						<p>I just found this</p>
<p><a href="http://cycling74.com/forums/topic.php?id=24483" rel="nofollow">http://cycling74.com/forums/topic.php?id=24483</a></p>
<p>in fact, instantiating my print object with newinstance() seems to work. I&#8217;m not sure this won&#8217;t generate problems, though&#8230; any advice?</p>
<p>aa</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/cant-create-print-object-with-object_new_typed/#post-221190</guid>
					<title><![CDATA[Re: can&#039;t create print object with object_new_typed]]></title>
					<link>http://cycling74.com/forums/topic/cant-create-print-object-with-object_new_typed/#post-221190</link>
					<pubDate>Fri, 20 Jan 2012 19:53:27 +0000</pubDate>
					<dc:creator>Timothy Place</dc:creator>

					<description>
						<![CDATA[
						<p>I just updated the link in that post, but here it is for convenience:</p>
<p><a href="https://github.com/jamoma/JamomaModular/blob/master/library/source/jcom.core.cpp#L159" rel="nofollow">https://github.com/jamoma/JamomaModular/blob/master/library/source/jcom.core.cpp#L159</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/cant-create-print-object-with-object_new_typed/#post-221191</guid>
					<title><![CDATA[Re: can&#039;t create print object with object_new_typed]]></title>
					<link>http://cycling74.com/forums/topic/cant-create-print-object-with-object_new_typed/#post-221191</link>
					<pubDate>Sat, 21 Jan 2012 10:06:47 +0000</pubDate>
					<dc:creator>andrea agostini</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Tim.</p>
<p>Thank you for the link.</p>
<p>What I&#8217;m not sure of is why you need to instantiate the object with newinstance, then free it, and then re-instantiate it with object_new_typed. It is not that important, as long as things work ;) , but I&#8217;d like to understand more&#8230;</p>
<p>Thank you!<br />
aa</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/cant-create-print-object-with-object_new_typed/#post-221192</guid>
					<title><![CDATA[Re: can&#039;t create print object with object_new_typed]]></title>
					<link>http://cycling74.com/forums/topic/cant-create-print-object-with-object_new_typed/#post-221192</link>
					<pubDate>Mon, 23 Jan 2012 15:42:36 +0000</pubDate>
					<dc:creator>Timothy Place</dc:creator>

					<description>
						<![CDATA[
						<p>To be honest, I wrote that code 10 years ago and I don&#8217;t really remember why it is like that.  I vaguely recall that I had to do that to make it work, but I was pretty inexperienced and wasn&#8217;t really sure what I was doing at that point.    Sorry for the less-than-substantial answer on this one.  At any rate, I do know that the code works and I haven&#8217;t had any problems with it.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

