<?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: [sharing is fun] Quitting, then relaunching your standalone application</title>
		<atom:link href="http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 23:23:22 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-47280</guid>
					<title><![CDATA[[sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-47280</link>
					<pubDate>Fri, 18 Dec 2009 18:21:10 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;m sure someone will need this at some point&#8230;.sharing may be fun, but stuff like this is very UNfun.<br />
Here is a hack to quit, then relaunch your standalone application. I suppose it could be used for Max, too.<br />
This has methods for both Mac and Windows. The Mac version uses applescript and the shell external. The Windows version uses the java class DOShack to launch a bat file.<br />
It&#8217;s ugly but it works. Even if you are not familiar with using .bat files or applescript, there&#8217;s pretty decent explanations in this patch.</p>
<p>I needed to do this to make a testing application for our midi controllers at Livid. Since Max doesn&#8217;t refresh the ports when you plug/unplug a USB MIDI device, the testing app standalone I made has to quit then restart every time I plug in a new controller. Pretty irritating for the testers, so I cooked this up to save some hassle.</p>
<div><span id="toggle47280-0" class="patchtoggle" onmousedown="toggleMaxPatch('post47280-0', 'er47280-0');">&#8211; Pasted Max <span id="maxversion47280-0"></span> Patch, click to <span id="er47280-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A2817.3ocwaE0bahjD9YmeEyRU4hcJaYlY.Dx6sUc416tsRUaxlKYuGt5zVaM%0ABFYgMBzBirr1T4%2B90yzHIrCfPwxvV0ZBnYflutmt%2B5tG97KNwZR58xbKxUj%2B%0AG4jS97KN4DykzW3jhyOwZt39fXQtYXVyk44hqkVmi%2BlRduxb8uebFLNRrXYR%0AvreeRV5pbYFYlRs3pKubZlHIHMJefbYnLevzLoD9yk4oSUqDYxAyTy2bCiiR%0AjAoKSL2UmhKlrbd5RUrTYjAZwUmllnxi9So9ZiFXWbUbfp0Kj3qkkE42J9oE%0AYxbYhRnhRS98LYfBGgiuGLaByloOXW7mcyRnBlEkbcoY35aFEanq9.kZlniW%0AoIEEZPkzI2bgqmUIANQL2HXVuIKRDas6ELJYy6GSesu7hWn%2By4OmpkUqVMHN%0A5tnvnjbU1x4.1jOHHsZcAqazEinFHkOps5BGeTI3XNvXFcAysFcgaGnK.DTC%0AkektvH7jIqIePp.kv6WOIUlMNYAb1e6wpgCPEXWgJvXQ1HPycGh.sSaAZtmM%0ABz3ANWePO8JAZmCDnoGQf9zaVlqHyE2JIBRhbEYZTrjDkPdepR9AQ34DQRHI%0AWbG764jwV%2BwxHEtBYvDgZr0.xGitdl5hf3nfaIoID0LIdOToDYXjhDoN6YWC%0A4PcP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QP%0AaCILJuawo1HRcKGBVqjotUy0BWSzt0CN0sExDqaYuzFxeruMxeXofJcxSTVc%0AaSzFV2Z361FVMdcqkuWaHu35%2BDjI3ju7h%2BOv7iPf7%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post47280-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode47280-0">----------begin_max5_patcher----------
2817.3ocwaE0bahjD9YmeEyRU4hcJaYlY.Dx6sUc416tsRUaxlKYuGt5zVaM
BFYgMBzBirr1T4+90yzHIrCfPwxvV0ZBnYflutmt+5tG97KNwZR58xbKxUj+
G4jS97KN4DykzW3jhyOwZt39fXQtYXVyk44hqkVmi+lRduxb8uebFLNRrXYR
vreeRV5pbYFYlRs3pKubZlHIHMJefbYnLevzLoD9yk4oSUqDYxAyTy2bCiiR
jAoKSL2UmhKlrbd5RUrTYjAZwUmllnxi9So9ZiFXWbUbfp0Kj3qkkE42J9oE
YxbYhRnhRS98LYfBGgiuGLaByloOXW7mcyRnBlEkbcoY35aFEanq9.kZlniW
oIEEZPkzI2bgqmUIANQL2HXVuIKRDas6ELJYy6GSesu7hWn+y4OmpkUqVMHN
5tnvnjbU1x4.1jOHHsZcAqazEinFHkOps5BGeTI3XNvXFcAysFcgaGnK.DTC
kektvH7jIqIePp.kv6WOIUlMNYAb1e6wpgCPEXWgJvXQ1HPycGh.sSaAZtmM
Bz3ANWePO8JAZmCDnoGQf9zaVlqHyE2JIBRhbEYZTrjDkPdepR9AQ34DQRHI
WbG764jwV+wxHEtBYvDgZr0.xGitdl5hf3nfaIoID0LIdOToDYXjhDoN6YWC
4PcP2J9sVCgtkbXn2ITeUqFh1iZnWuNcInYjgZDMSC1jG.14JPCIhSSjuJmD
EjlbNIWFCunf15SyRWQ9fH3VveG4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0nVHwq718olJNS48GjbSNYWKk
5LTAOLj1HpLp+WAoKuXmAJ3lSwyqIPgY2i6atEYQIpoDXED79QdY9Ky06IgK
25DtDcd35cfaGdQs.GUpFK042gNrGSBL8P857D8DyPpr39ZnVDoG2kg+YLIG
hmK6rcqK1iDF2fHNMVtIpa+YoDmJBQBfGAmN6uPAk2ClM2pdpeetkTAYeVW4
GtXmoxaLjMi0+aI0bHBE3mUiMO.fdV2Vp0hZEMgztwuSJFu+VZYR93.71vZ1
aSKWbsoO.tM0tbJq6q2xyXLHLmcG6h2YzYaceEiceYreNquX4uPJlqeiIB0e
KExjWKueA4zAu9pyNUuU9tbvqOqZ3w8aIPb4+uEvE1Dc+FKIYWzBnEhD4161
jqCRiSyPA0dvHaWeeFHeXq9Kc5Vos5xKLIMKTlU1RKC7MGJCK63o9O5NZwWe
EtQ730VFeVmhB5+0HeamB73aAEZbeUP8qdSvzNnqntXEkNzwGqYXcNf36E4L
SyDV8QeR6lms95ODNySWlErYAQQ02H6d3gxbUTBtk31MF8mHFgtcPyhBCkIk
gv4QgKRiRTEx.42pT21VQ5QOtpkI2GJ36UlXrglhPNp36Ekt8rigztODjcXB
KERazU6klWjRvlSdpxZq011cm11qMxzvtUlbZiL40oxjNKm8KS7CSlPSKJ5Y
yc2IOU7qEhptnGcnSEZaL8YNcqJ0qs3T2IS71fSGnHw4nkkCE2CI6N6oJrz1
nTc6T.j0Fk5iD7maYZXKBn1wl971n4r6VMmcKjI2N0qUqDIJqagoV4cuaIQP
aCILJuawo1HRcKGBVqjotUy0BWSzt0CN0sExDqaYuzFxeruMxeXofJcxSTVc
aSzFV2Z361FVMdcqkuWaHu35+DjI3ju7h+Ov7iPf7
-----------end_max5_patcher-----------</code></pre></div>
</div>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170047</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170047</link>
					<pubDate>Fri, 18 Dec 2009 19:25:24 +0000</pubDate>
					<dc:creator>Shane</dc:creator>

					<description>
						<![CDATA[
						<p>Synchronicity!<br />
Exactly the same issue here at Akai! I know we&#8217;re competitors as companies but as coders we can help each other out. I came on the forums right now to ask about a solution to this exact issue, for testing! Hope this works<br />
Thanks much</p>
<p>Shane</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170048</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170048</link>
					<pubDate>Fri, 18 Dec 2009 19:39:26 +0000</pubDate>
					<dc:creator>Shane</dc:creator>

					<description>
						<![CDATA[
						<p>Ah, re-read&#8230; relaunching the app is the deal itself. A script that does it isn&#8217;t going to cut down the time too much.<br />
Maybe this is a request to Cycling then after all. Refreshing the midi ports like u can do in midi ox is what I really want.<br />
Personally, much props to you at livid for building in America, but I have to make things easy for products shipping tens of thousands of units. Multiply that by the time it takes to restart applications which test products that do multichannel audio and it&#8217;s a LOT of time.<br />
I hope this script helps some right now but maybe as companies, to a company, we could get Cycling74 to make a refresh midi ports option within their program. This issue becomes most problematic for companies making many units with standalones and connecting multiple units. I&#8217;m not sure if Cycling reads these forums avidly, but maybe we should write them lividly and ask them for this feature in an update?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170049</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170049</link>
					<pubDate>Fri, 18 Dec 2009 22:58:57 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>&#8220;A script that does it isn&#8217;t going to cut down the time too much.&#8221;<br />
It&#8217;s certainly better than having to do it manually, but, yeah, a true refresh of the ports would be great. I, and others, brought this issue up on the max5 beta test a few moons ago. It has apparently been a problem since something like 1924 :) and there is no fix in the near future. So, yes, they are aware of it, but it&#8217;s a lot of work to fix it.<br />
One possible solution for you is to route the midi to the testing app via maple or yoke, that way the max-based tester is freed from the tyranny of its inability to refresh the midi ports. Since midi ox will NOT need a restart on re/plug, let that handle the initial midi config and just have it route the input to a loopback to the test app. Jeez, wish I&#8217;d thought of that for myself! However, I think, for my purposes, the relaunch is the way to go&#8230;.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170050</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170050</link>
					<pubDate>Sat, 19 Dec 2009 00:36:57 +0000</pubDate>
					<dc:creator>Shane</dc:creator>

					<description>
						<![CDATA[
						<p>Yeah I actually did think of that but for our testers, well, they don&#8217;t speak English and it has to be very simple. Something you luckily haven&#8217;t had to deal with is the windows class compliant driver issue when sending sysex to max. Some of our products have test modes you see as not all the buttons send midi, rather they are for top panel functions. So in test mode they send sysex but max crashes!<br />
Anyway, no control over the core stuff&#8230;this is what we get for using such a fast for audio/midi but high level language. </p>
<p>For those of you out there doing performance or installations though the routing through midi ox solution can be helpful in case the jig gets loose or u need to plug stuff in and out on the fly without shutting down. </p>
<p>Oh an Pete I&#8217;ve been a fan of your video max patches for a long time. You an VJ Fader really push the envelope with Jitter. </p>
<p>Shane</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170051</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170051</link>
					<pubDate>Sat, 19 Dec 2009 01:14:10 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>thanks shane&#8230;be sharing again&#8230;!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170052</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170052</link>
					<pubDate>Sun, 20 Dec 2009 02:06:56 +0000</pubDate>
					<dc:creator>sergio</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Peter,</p>
<p>Do you have a version of the shell object that works on OSX intel macs ?<br />
I can´t seem to get the shell object to work in max 5 or 4.6 :(<br />
I did notice the source code is available but i´m not familiar with compiling objects. Any help most welcome, thanks.</p>
<p>Sergio</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170053</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170053</link>
					<pubDate>Tue, 22 Dec 2009 15:50:00 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>hmm&#8230;yeah, Jeremy Bernstein I think took over maintaining that external. It seems like it used to live on the c74 share site, which has been gutted for the new website. I can email you the copy of shell i have, but I hope it becomes public again!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170054</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170054</link>
					<pubDate>Tue, 22 Dec 2009 15:52:18 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>hm, guess i can&#8217;t email you from your profile. i&#8217;m pnyboer a slambassador com &#8211; send me a mail and I&#8217;ll send you shell.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170055</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170055</link>
					<pubDate>Wed, 23 Dec 2009 00:41:42 +0000</pubDate>
					<dc:creator>sergio</dc:creator>

					<description>
						<![CDATA[
						<p>Thank´s Peter :) Mailing you now ^^</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170056</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170056</link>
					<pubDate>Wed, 17 Feb 2010 21:25:11 +0000</pubDate>
					<dc:creator>stefantiedje</dc:creator>

					<description>
						<![CDATA[
						<p>In my experience, it is fine to close the patch and reload it to make all midi stuff recognize the new ports. If you work global it even works without reloading the patch.<br />
As a standalone isn&#8217;t more than a runtime, you could maybe have two collectives in the bundle, one to close and reload the main patch, or even better, have only a Midi receive patch, which passes on the data with send/receive and just close that patch and reload it&#8230;</p>
<p>Just thinking further, it might be sufficient to script replace the offending midiinfo&#8230;</p>
<p>Just made a quick test, it doesn&#8217;t even need scripting, banging the midiinfo does update the menus in the helpfile. Maybe it has been fixed in the meantime&#8230;?</p>
<p>Matters are much worse with audio interfaces though. Max/MSP is still the only audio program I know of, which cannot deal with plug&#8217;n'play interfaces. Even if you reload Max and it doesn&#8217;t find the last interface Max can&#8217;t switch to its fall back (the internal) interface. It just looks like it does, but it doesn&#8217;t work&#8230;</p>
<p>I hope that c74 will sort out this for the future. It is essential and crucial for any live musician&#8230;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170057</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170057</link>
					<pubDate>Fri, 04 Mar 2011 05:41:20 +0000</pubDate>
					<dc:creator>Shane</dc:creator>

					<description>
						<![CDATA[
						<p>@ Peter<br />
Somehow this has become a major deal. If I can&#8217;t find a way around the restart time I may lose my job &#8211; as this affects all test apps on all products. I am frantically looking for solutions on PC &#8211; I do not know other programming languages so am not familiar with the batch files or java objects used to control them. Would it be possible with your patch to send a message to restart MIDI OX ? MIDI OX restarts very fast you see and will remember its routings as well. This would be a life saver but I do not know how to do it. </p>
<p>@ stephan<br />
was this on mac? because it does not work on PC for me. un plug a device and plug back in, bang the refresh for midiinfo and the list stays the same, although if you send this to notein or the like the port has not been refreshed and no data comes in</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170059</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170059</link>
					<pubDate>Fri, 04 Mar 2011 21:34:24 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>Shane: it very well may be possible to restart MIDI Ox in the same way I quit/launch the standalone. It really just boils down to launching a .bat file from the max patch. Try the attached .bat file</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170060</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170060</link>
					<pubDate>Fri, 04 Mar 2011 21:35:34 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>and for the sake of instruction in one place,  here&#8217;s the contents of the bat file</p>
<p>taskkill /IM midiox.exe<br />
ping -n 1 localhost<br />
cd &#8220;%PROGRAMFILES%MIDIOX&#8221;<br />
start midiox.exe<br />
exit</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170062</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170062</link>
					<pubDate>Tue, 08 Mar 2011 07:09:49 +0000</pubDate>
					<dc:creator>Shane</dc:creator>

					<description>
						<![CDATA[
						<p>@ peter<br />
Thanks so much for this!<br />
Currently I can&#8217;t get this to run standalone becasue I get the message<br />
(mxj) Unable to resolve path of max.jar! mxj is rendered powerless.<br />
Unable to create JVM</p>
<p>All the help forums on that are for mac (this must be windows) and I&#8217;ve tried copying the whole java folder to no avail. </p>
<p>Frustrating to be so close&#8230; if you have any tips much appreciated, otherwise thanks a bunch.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170063</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170063</link>
					<pubDate>Tue, 08 Mar 2011 08:22:28 +0000</pubDate>
					<dc:creator>Shane</dc:creator>

					<description>
						<![CDATA[
						<p>OK i got the mxj working in standalone. you need to put the files in the same locations as described here <a href="http://www.cycling74.com/docs/max5/vignettes/core/standalone_platform_win.html" rel="nofollow">http://www.cycling74.com/docs/max5/vignettes/core/standalone_platform_win.html</a><br />
and NO where else&#8230; and including the whole java folder messed it up too. U can only put in what you are using. </p>
<p>I tried to mess with this line<br />
cd &#8220;%PROGRAMFILES%MIDIOX&#8221;<br />
so that the standalone would work in drives other than the C: but it didn&#8217;t work.  it&#8217;s probably easy to do this but I&#8217;m not familiar with DOS commands</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170064</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170064</link>
					<pubDate>Wed, 09 Mar 2011 02:09:56 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>%PROGRAMFILES% should resolve to wherever the Program Files directory is. It&#8217;s just an environment variable. Here&#8217;s a list of some common ones: <a href="http://vlaurie.com/computers2/Articles/environment.htm" rel="nofollow">http://vlaurie.com/computers2/Articles/environment.htm</a><br />
So if the bootdrive is on D:/ and MIDIOX is, therefore, installed on D:/Program Files/MIDIOX/ this .bat file should find it.<br />
You can test this by opening a shell (go to the Start menu, and type &#8220;cmd&#8221; in the run field) and try something like<br />
cd %PROGRAMFILES%<br />
and you should end up in the Program Files directory. You can find out just by typing<br />
cd<br />
and it should tell you (&#8220;cd&#8221; is like &#8220;pwd&#8221; in unix).<br />
If you need to be explicit for some reason, then you can change that line to<br />
C:Program FilesMIDIOX</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170067</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170067</link>
					<pubDate>Wed, 09 Mar 2011 23:44:14 +0000</pubDate>
					<dc:creator>Shane</dc:creator>

					<description>
						<![CDATA[
						<p>@ Peter<br />
Thanks for all your follow ups. I suspected the &#8220;%&#8221; around the directory did this, however you can see in the attached screenshot it finds the explicit directory but does not switch to it. If the batch file is run from the external this happens, if it&#39;s run from the desktop on the C:, it&#39;s fine.<br />
I don&#39;t think this is a big deal at this point though.<br />
Thanks for all your help!</p>
<p> [attachment=156039,1904]</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170068</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170068</link>
					<pubDate>Fri, 26 Aug 2011 21:37:21 +0000</pubDate>
					<dc:creator>Shane</dc:creator>

					<description>
						<![CDATA[
						<p>@ Peter<br />
Well looks like all the routing through MIDI OX, although faster for a refresh, is too cludgy and my boss needs it to be better. </p>
<p>- you have the ping at just 3 to restart max, but when i have it set that low it seems it&#8217;s not enough time, that max hasn&#8217;t released the ports yet and when i restart they still aren&#8217;t available. My guess is that this is machine dependent (2.4 ghz windows dual core 2gb ram) but perhaps you ran into this too&#8230; or there might be some other variable that made a ping of 3 work ?<br />
Cheers and thanks for all your help.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170069</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170069</link>
					<pubDate>Sun, 28 Aug 2011 19:57:23 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>hm, yeah, I dunno, it probably is a machine-dependent thing. I&#8217;ve had the delay down to 1 second and it works on some computers&#8230;.what a drag!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170070</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170070</link>
					<pubDate>Wed, 31 Aug 2011 20:17:10 +0000</pubDate>
					<dc:creator>Shane</dc:creator>

					<description>
						<![CDATA[
						<p>I want to add a follow up, in case someone else is dealing with this somehow. I was able to get a 1 second restart IF the device is unplugged first, then you hear the device unplugged ding, plug in the device again, hear the ding, then refresh. </p>
<p>I&#8217;ve tried in on a couple setups so far, about to try on a much larger patch which does audio.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170071</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170071</link>
					<pubDate>Thu, 01 Sep 2011 17:33:00 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;m guessing that is not for the midiin object, thought? For notein/ctlin objects only?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170072</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170072</link>
					<pubDate>Thu, 03 Nov 2011 23:02:54 +0000</pubDate>
					<dc:creator>Shane</dc:creator>

					<description>
						<![CDATA[
						<p>@pnyober yes I think I got rid of MIDI in in all my patches and used the individual objects ., ., I forget why.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170073</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170073</link>
					<pubDate>Thu, 03 Nov 2011 23:03:40 +0000</pubDate>
					<dc:creator>Shane</dc:creator>

					<description>
						<![CDATA[
						<p>Does Max 6 solve this issue or provide a better solution ?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170074</guid>
					<title><![CDATA[Re: [sharing is fun] Quitting, then relaunching your standalone application]]></title>
					<link>http://cycling74.com/forums/topic/sharing-is-fun-quitting-then-relaunching-your-standalone-application/#post-170074</link>
					<pubDate>Sat, 05 Nov 2011 17:02:14 +0000</pubDate>
					<dc:creator>Peter Nyboer</dc:creator>

					<description>
						<![CDATA[
						<p>Apparently not. I just tried a patch with [midiin] with an Ohm64 attached. Midi rec&#8217;d fine. Unplugged USB. 2x clicked on the midiin object, and the menu was correctly updated that the Ohm64 was gone. Plugged it back in. Ohm64 shows up in the menu. Selected Ohm64. No data rec&#8217;d.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

