<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Cardbox Everywhere</title>
	<atom:link href="http://cardboxeverywhere.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cardboxeverywhere.wordpress.com</link>
	<description>Taking Cardbox beyond Windows</description>
	<lastBuildDate>Mon, 28 Feb 2011 08:52:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cardboxeverywhere.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Cardbox Everywhere</title>
		<link>http://cardboxeverywhere.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cardboxeverywhere.wordpress.com/osd.xml" title="Cardbox Everywhere" />
	<atom:link rel='hub' href='http://cardboxeverywhere.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Cardbox on the Eee: 4 &#8211; what doesn&#8217;t work</title>
		<link>http://cardboxeverywhere.wordpress.com/2007/12/18/cardbox-on-the-eee-4-what-doesnt-work/</link>
		<comments>http://cardboxeverywhere.wordpress.com/2007/12/18/cardbox-on-the-eee-4-what-doesnt-work/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 14:12:23 +0000</pubDate>
		<dc:creator>cardbox</dc:creator>
				<category><![CDATA[Asus Eee]]></category>
		<category><![CDATA[Wine bugs]]></category>

		<guid isPermaLink="false">http://cardboxeverywhere.wordpress.com/2007/12/18/cardbox-on-the-eee-4-what-doesnt-work/</guid>
		<description><![CDATA[You have installed Cardbox on Wine on the Asus Eee, and you have set things up so that you can start Cardbox. This means that you can create your own databases, edit and search them, and access databases on Cardbox servers on the Internet (or on a local LAN server). Despite this, not everything works. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=36&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You have installed Cardbox on Wine on the Asus Eee, and you have set things up so that you can start Cardbox.</p>
<p>This means that you can create your own databases, edit and search them, and access databases on Cardbox servers on the Internet (or on a local LAN server).</p>
<p>Despite this, not everything works. The problems come from the partial nature of Wine&#8217;s implementation of some Windows functions.</p>
<p><b>We would welcome your help with this.</b> Would downloading or installing additional software make a difference? Are there changes to the configuration that will make Cardbox work better?</p>
<p>We are giving away the Cardbox Home Edition licence on the Asus Eee because we want every Eee user to have the benefit and enjoyment of having Cardbox available. <b>Help us to make this happen!</b></p>
<p><span id="more-36"></span></p>
<h2>Getting Started</h2>
<p>Cardbox comes with a &#8220;Getting Started&#8221; guide that gives you a guided tour of the program and what it does. This is an Adobe PDF file called <code>getting.pdf</code>. Cardbox provides the command Help &gt; Getting Started to allow you to view this without having to navigate to the file itself. On Windows, this command works. On CrossOver Mac, this command works. On Wine on the Asus Eee, it doesn&#8217;t.</p>
<p>To read the Getting Started guide:</p>
<ol>
<li>Go to the Work tab of the desktop and open File Manager.</li>
<li>If you can&#8217;t see a folder called &#8220;<code>.wine</code>&#8220;, open the View menu and turn on &#8220;Show Hidden Files&#8221;.</li>
<li>Navigate into <code>.wine</code>, then <code>drive_c</code>, then <code>Program Files</code>, then <code>Cardbox 3.0</code>.</li>
<li>You will see a file called <code>getting.pdf</code>. Double-click on it.</li>
</ol>
<h2>Online help</h2>
<p>Online help doesn&#8217;t work. This is a serious problem, because Cardbox is richly provided with help. At a time when many software manufacturers were turning their help into a hurriedly reformatted version of the manuals, we have spent time and effort creating context-sensitive help for every menu item and every command window, and (especially important) for many error messages. Most of the time Cardbox is simple enough for you not to need help, but when you do need it, it is absurd to be deprived of it.</p>
<p>The first time you try to display online help, the system will ask you if you want to download and install the Gecko engine to display the HTML in the help. If you say No, you will have a help window that has a table of contents but no readable articles. If you say Yes, the Gecko engine will be downloaded and installed: as soon as it tries to display a help page, an error will occur. Before Build 4261 of Cardbox, the error would crash Cardbox; from Build 4261 onwards, Cardbox traps the error, tells you that you can&#8217;t view Help, and carries on working. But it is not possible for Cardbox to cure the fundamental bug that stops help pages from being displayed.</p>
<h3>Possible cures</h3>
<p><a href="http://cardboxeverywhere.wordpress.com/2007/12/07/bugs-viewing-online-help/" target="_blank">This blog posting</a> details the problems that CrossOver Mac has with displaying online help. You&#8217;ll see that downloading and installing Microsoft Internet Explorer appears to install enough working DLL files to allow help to be correctly displayed.</p>
<p>In theory it should be possible to do something similar on Wine, but my attempts on the Asus Eee have failed. Unfortunately the hopeful-sounding <a href="http://www.google.co.uk/search?q=ie4linux"><code>ie4linux</code></a> scripts tend to stop halfway through installation, and in any case the new files are installed in a separate space from the one in which Cardbox was installed, so the Cardbox environment is unaffected.</p>
<p>It may well be that there is a way round these problems, and I&#8217;d welcome any solutions, possibly as comments to this blog posting.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cardboxeverywhere.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cardboxeverywhere.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cardboxeverywhere.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cardboxeverywhere.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cardboxeverywhere.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cardboxeverywhere.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cardboxeverywhere.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cardboxeverywhere.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cardboxeverywhere.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cardboxeverywhere.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cardboxeverywhere.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cardboxeverywhere.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cardboxeverywhere.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cardboxeverywhere.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cardboxeverywhere.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cardboxeverywhere.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=36&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cardboxeverywhere.wordpress.com/2007/12/18/cardbox-on-the-eee-4-what-doesnt-work/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2aed1be59489a1610b340cba3dc73ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cardbox</media:title>
		</media:content>
	</item>
		<item>
		<title>Cardbox on the Eee: 3 &#8211; starting Cardbox</title>
		<link>http://cardboxeverywhere.wordpress.com/2007/12/18/cardbox-on-the-eee-3-starting-cardbox/</link>
		<comments>http://cardboxeverywhere.wordpress.com/2007/12/18/cardbox-on-the-eee-3-starting-cardbox/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 12:21:46 +0000</pubDate>
		<dc:creator>cardbox</dc:creator>
				<category><![CDATA[Asus Eee]]></category>

		<guid isPermaLink="false">http://cardboxeverywhere.wordpress.com/2007/12/18/cardbox-on-the-eee-3-starting-cardbox/</guid>
		<description><![CDATA[When you have installed Cardbox on Wine,  there seems to be no easy way of finding the program so that you can actually use it. Here are some suggestions; but if anyone has a better way of integrating a Cardbox launch into the Linux user interface, please let me know! CrossOver Linux does it perfectly, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=34&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you have installed Cardbox on Wine,  there seems to be no easy way of finding the program so that you can actually use it. Here are some suggestions; but <em>if anyone has a better way of integrating a Cardbox launch into the Linux user interface, please let me know!</em> CrossOver Linux does it perfectly, and whatever CrossOver can do, Wine should be able to do too.</p>
<p>You can type a command to start Cardbox, or you can put a Cardbox icon on the Eee desktop so that you can start Cardbox with a single mouse click.</p>
<p><span id="more-34"></span></p>
<h2>Typing a command</h2>
<p>If you open a terminal window (for instance, on the Eee, you can press Ctrl+Alt+T), the following command line will start Cardbox:</p>
<p><code>/usr/bin/wine /home/user/.wine/drive_c/Program\ Files/Cardbox\ 3.0/cardbox3.exe</code></p>
<p>assuming that the locations into which Wine was installed are the same as they were when I tried it on my Asus Eee.</p>
<p>After Cardbox has finished, the terminal window may still be sitting there with a lot of Wine messages in it and not even a command prompt. You can simply close it, or if you want to do more work in that window, pressing Ctrl+C will get you a command prompt.</p>
<h2>Integrating with the Eee simple interface</h2>
<p>This involves some scary editing of a system file, but the end result is a simple Cardbox icon on the &#8220;Work&#8221; page of the Eee&#8217;s desktop.</p>
<h3>Downloading the icons</h3>
<p>First of all you need to download the following Cardbox icons. The first one will become the Cardbox icon on the desktop; the next four control the way the Cardbox icon will appear when you select it with the keyboard or mouse: there are four of them because the Eee has four different desktop modes.</p>
<p><img src="http://www.cardbox.com/support/eee/bin/cardbox.png" height="128" width="128" /><br />
<img src="http://www.cardbox.com/support/eee/bin/accessibility_cardbox_hi.png" height="128" width="128" /><br />
<img src="http://www.cardbox.com/support/eee/bin/business_cardbox_hi.png" height="128" width="128" /><br />
<img src="http://www.cardbox.com/support/eee/bin/home_cardbox_hi.png" height="128" width="128" /><br />
<img src="http://www.cardbox.com/support/eee/bin/student_cardbox_hi.png" height="128" width="128" /></p>
<p>Right-click on each icon in turn and tell Firefox to save it in your user directory (whose Linux name is <code>/home/user</code>). The exact location isn&#8217;t vital but it will be embarrassing if you save the icons and then can&#8217;t work out where they are!</p>
<h3>Putting the icons in the right place</h3>
<p>Now open a terminal window by pressing Ctrl+Alt+T. You will automatically find yourself in  <code>/home/user</code>. Type the following command:</p>
<p><code>sudo cp -iv *cardbox*.png /opt/xandros/share/AsusLauncher/</code></p>
<p>This will copy the icon files to the correct directory.</p>
<h3>Telling the system to display the Cardbox icon</h3>
<p>Now you have the icon files in the right place, you need to tell the system to display an icon, and tell it what to do if the user clicks on the icon.</p>
<p><em>Note: when your Asus system installs a new package, it may restore its system files to the original state, in which case you will need to repeat this step in order to get your Cardbox icon back.</em></p>
<p>Right-click on <a href="http://www.cardbox.com/support/eee/cardboxui.txt">this link</a> and save the resultant text file into your user directory. Its name will be <code>cardboxui.txt</code>, and these instructions assume that its full name (including the user directory name) is therefore <code>/home/user/cardboxui.txt</code>.</p>
<p><strong>Warning: you are about to edit a system file. If you get this wrong then your desktop may look a mess or not display at all. Double-check every step you take. If you have any doubts, DO NOT SAVE YOUR CHANGES: just close the terminal window.</strong></p>
<p>Open a terminal window with Ctrl+Alt+T (or simply reuse one, if you already have it open) and enter the following command:</p>
<p><code>sudo nano /opt/xandros/share/AsusLauncher/simpleui.rc</code></p>
<p>Hold down Ctrl+V to scroll through the pages, until you get to the bottom of the screen. Then press the up arrow until the solid white  cursor is on the &#8220;<code>&lt;</code>&#8221; symbol in the line that says <code>&lt;/simpleui&gt;</code> (if there is a blank line between <code>&lt;/simpleui&gt;</code> and the preceding <code>&lt;/parcel&gt;</code> line, you can also put the cursor there: it makes no difference).</p>
<p>Press Ctrl+R once. You will be asked to enter the name of a file to insert. Assuming that you have saved the text file in the right place, the filename will be:</p>
<p><code>/home/user/cardboxui.txt</code></p>
<p>Press the Enter key after typing the filename, and you should find that a new group of lines has appeared, mentioning Cardbox:</p>
<p><img src="http://cardboxeverywhere.files.wordpress.com/2007/12/cardboxui.png?w=450" alt="SimpleUI" /></p>
<p>Press Ctrl+X to exit the editor. Press Y to say that yes, you do want to save the edited file. Finally press Enter to confirm the filename.</p>
<h3>Viewing the desktop with the new icon</h3>
<p>Shut down and restart the Eee in the usual way, and you should see a Cardbox icon on the Work page of your desktop. Clicking on the icon will start Cardbox.</p>
<p>(<a href="http://forum.eeeuser.com/viewtopic.php?id=3329" title="EeePC Forum" target="_blank">This forum entry</a> said that you could press Ctrl+Alt+Backspace to redisplay the desktop without affecting anything else. It didn&#8217;t work for me &#8211; it just restarted the whole computer.)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cardboxeverywhere.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cardboxeverywhere.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cardboxeverywhere.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cardboxeverywhere.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cardboxeverywhere.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cardboxeverywhere.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cardboxeverywhere.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cardboxeverywhere.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cardboxeverywhere.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cardboxeverywhere.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cardboxeverywhere.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cardboxeverywhere.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cardboxeverywhere.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cardboxeverywhere.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cardboxeverywhere.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cardboxeverywhere.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=34&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cardboxeverywhere.wordpress.com/2007/12/18/cardbox-on-the-eee-3-starting-cardbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2aed1be59489a1610b340cba3dc73ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cardbox</media:title>
		</media:content>

		<media:content url="http://www.cardbox.com/support/eee/bin/cardbox.png" medium="image" />

		<media:content url="http://www.cardbox.com/support/eee/bin/accessibility_cardbox_hi.png" medium="image" />

		<media:content url="http://www.cardbox.com/support/eee/bin/business_cardbox_hi.png" medium="image" />

		<media:content url="http://www.cardbox.com/support/eee/bin/home_cardbox_hi.png" medium="image" />

		<media:content url="http://www.cardbox.com/support/eee/bin/student_cardbox_hi.png" medium="image" />

		<media:content url="http://cardboxeverywhere.files.wordpress.com/2007/12/cardboxui.png" medium="image">
			<media:title type="html">SimpleUI</media:title>
		</media:content>
	</item>
		<item>
		<title>Cardbox on the Eee: 2 &#8211; installing Cardbox on Wine</title>
		<link>http://cardboxeverywhere.wordpress.com/2007/12/17/cardbox-on-the-eee-2-installing-cardbox-on-wine/</link>
		<comments>http://cardboxeverywhere.wordpress.com/2007/12/17/cardbox-on-the-eee-2-installing-cardbox-on-wine/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 19:38:49 +0000</pubDate>
		<dc:creator>cardbox</dc:creator>
				<category><![CDATA[Asus Eee]]></category>

		<guid isPermaLink="false">http://cardboxeverywhere.wordpress.com/2007/12/17/cardbox-on-the-eee-2-installing-cardbox-on-wine/</guid>
		<description><![CDATA[These instructions assume that you have already installed Wine. Although we talk about the Eee and use screenshots from the Eee, the installation should work the same way on most systems with Wine. 1. Go to the Cardbox Client download page and click on the link that says &#8220;Cardbox 3.0 installer&#8221;. Firefox will say something [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=28&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>These instructions assume that you have <a href="http://www.cardbox.com/support/eee/install.htm" title="Installing Wine on the Eee">already installed Wine</a>. Although we talk about the Eee and use screenshots from the Eee, the installation should work the same way on most systems with Wine.</em></p>
<p><span id="more-28"></span></p>
<p>1. Go to the <a href="http://www.cardbox.com/downloading/client.htm" target="_blank">Cardbox Client download page</a> and click on the link that says &#8220;Cardbox 3.0 installer&#8221;. Firefox will say something like this:</p>
<p><img src="http://cardboxeverywhere.files.wordpress.com/2007/12/opening.png?w=450" alt="Installing" /></p>
<ul>
<li>If for some reason Firefox doesn&#8217;t recognise the Windows Executable type, it will only offer you a &#8220;Save to disk&#8221; option. This seems to happen if you use versions of Wine that don&#8217;t set up Firefox properly (we came across the problem when using the latest version of Wine from Wine HQ, instead of the official one in the Debian repository). You can still install Cardbox, by saving the file to disk and then explicitly using Wine to start <code>instcli.exe</code>.</li>
</ul>
<p>2. Once the file has been downloaded, Wine may warn you that it is about to start a Windows program:</p>
<p><img src="http://cardboxeverywhere.files.wordpress.com/2007/12/querylaunch.png?w=450" alt="Query Launch" /></p>
<p>If it asks you this question, say Yes.</p>
<p>3. Wine will start the Cardbox installer. It may also display another warning message:</p>
<p><img src="http://cardboxeverywhere.files.wordpress.com/2007/12/starting.png?w=450" alt="Startup warning" /></p>
<p>This message will go away by itself after a while, or you can press Dismiss to get rid of it immediately.</p>
<p>4. The Cardbox installer will start.</p>
<p><img src="http://cardboxeverywhere.files.wordpress.com/2007/12/installing.png?w=450" alt="Cardbox installer" /></p>
<p>Follow the instructions. At the end you will be asked whether to install icons on the desktop and the Start menu. With the present versions of Wine these icons never seem to appear anyway, but there is no harm in asking them to be installed: newer versions of Wine may make them visible.</p>
<p>5. It is now possible to run Cardbox. <em>How</em> to run it will be the subject of another posting, but just to encourage you here is a screenshot from the Eee.</p>
<p><img src="http://cardboxeverywhere.files.wordpress.com/2007/12/running.png?w=450" alt="Running Cardbox" /></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cardboxeverywhere.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cardboxeverywhere.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cardboxeverywhere.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cardboxeverywhere.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cardboxeverywhere.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cardboxeverywhere.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cardboxeverywhere.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cardboxeverywhere.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cardboxeverywhere.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cardboxeverywhere.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cardboxeverywhere.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cardboxeverywhere.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cardboxeverywhere.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cardboxeverywhere.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cardboxeverywhere.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cardboxeverywhere.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=28&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cardboxeverywhere.wordpress.com/2007/12/17/cardbox-on-the-eee-2-installing-cardbox-on-wine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2aed1be59489a1610b340cba3dc73ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cardbox</media:title>
		</media:content>

		<media:content url="http://cardboxeverywhere.files.wordpress.com/2007/12/opening.png" medium="image">
			<media:title type="html">Installing</media:title>
		</media:content>

		<media:content url="http://cardboxeverywhere.files.wordpress.com/2007/12/querylaunch.png" medium="image">
			<media:title type="html">Query Launch</media:title>
		</media:content>

		<media:content url="http://cardboxeverywhere.files.wordpress.com/2007/12/starting.png" medium="image">
			<media:title type="html">Startup warning</media:title>
		</media:content>

		<media:content url="http://cardboxeverywhere.files.wordpress.com/2007/12/installing.png" medium="image">
			<media:title type="html">Cardbox installer</media:title>
		</media:content>

		<media:content url="http://cardboxeverywhere.files.wordpress.com/2007/12/running.png" medium="image">
			<media:title type="html">Running Cardbox</media:title>
		</media:content>
	</item>
		<item>
		<title>Cardbox on the Eee: 1 &#8211; installing Wine</title>
		<link>http://cardboxeverywhere.wordpress.com/2007/12/14/cardbox-on-the-eee-1-installing-wine/</link>
		<comments>http://cardboxeverywhere.wordpress.com/2007/12/14/cardbox-on-the-eee-1-installing-wine/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 11:57:36 +0000</pubDate>
		<dc:creator>cardbox</dc:creator>
				<category><![CDATA[Asus Eee]]></category>

		<guid isPermaLink="false">http://cardboxeverywhere.wordpress.com/2007/12/14/cardbox-on-the-eee-1-installing-wine/</guid>
		<description><![CDATA[The Asus Eee is a very small, very cheap laptop that runs Linux. It makes a good testbed for software strategies involving cheap mass-computing devices such as the One Laptop Per Child. Cardbox is a Windows program, and Linux is not Windows. Wine is meant to let Windows programs run on Linux: can it bridge [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=22&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://eeepc.asus.com/">Asus Eee</a> is a very small, very cheap laptop that runs Linux.  It makes a good testbed for software strategies involving cheap mass-computing devices such as the <a href="http://laptop.org/">One Laptop Per Child</a>.</p>
<p>Cardbox is a Windows program, and Linux is not Windows. <a href="http://www.winehq.org/">Wine</a> is meant to let Windows programs run on Linux: can it bridge this gap?</p>
<p><span id="more-22"></span>A commercial product based on Wine exists, and it&#8217;s called <a href="http://www.codeweavers.com/products/cxoffice/">CrossOver Linux</a>. Based on our experience with <a href="http://www.codeweavers.com/products/cxmac/">CrossOver Mac</a>, CrossOver Linux is likely to be a stable, easy-to-use program; but it costs money. With a single-copy retail price of (currently) $40, it doesn&#8217;t cost much; but $40 is still money. The Eee is pitched at the sort of people who don&#8217;t buy software, the OLPC even more so. If CodeWeavers are planning to give away CrossOver Linux for the OLPC, I haven&#8217;t heard of it, so it&#8217;s worth seeing just how far one can go with Wine, which is free.</p>
<p>To use Wine, you have to install it. There are some excellent instructions <a href="http://www.modaco.com/content/Asus-EEE-PC-http-www-EEEasy-com/261913/Installing-WINE-on-Eee/" target="_blank">here</a>, which we have repeated and amplified a little on <a href="http://www.cardbox.com/support/eee/install.htm">this page</a> on the Cardbox web site.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cardboxeverywhere.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cardboxeverywhere.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cardboxeverywhere.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cardboxeverywhere.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cardboxeverywhere.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cardboxeverywhere.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cardboxeverywhere.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cardboxeverywhere.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cardboxeverywhere.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cardboxeverywhere.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cardboxeverywhere.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cardboxeverywhere.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cardboxeverywhere.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cardboxeverywhere.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cardboxeverywhere.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cardboxeverywhere.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=22&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cardboxeverywhere.wordpress.com/2007/12/14/cardbox-on-the-eee-1-installing-wine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2aed1be59489a1610b340cba3dc73ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cardbox</media:title>
		</media:content>
	</item>
		<item>
		<title>Programming note: tooltips again</title>
		<link>http://cardboxeverywhere.wordpress.com/2007/12/11/programming-note-tooltips-again/</link>
		<comments>http://cardboxeverywhere.wordpress.com/2007/12/11/programming-note-tooltips-again/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 08:00:46 +0000</pubDate>
		<dc:creator>cardbox</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Wine bugs]]></category>

		<guid isPermaLink="false">http://cardboxeverywhere.wordpress.com/2007/12/11/programming-note-tooltips-again/</guid>
		<description><![CDATA[This posting is of historical interest. It exists to help other programmers who may come across a similar problem. When you move your mouse over a toolbar button, a small tooltip pops up to tell you what the button does. If the button is disabled then Cardbox also shows a yellow box next to the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=18&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This posting is of  historical interest. It exists  to help other programmers who may come across a similar problem.</p>
<p>When you move your mouse over a toolbar button, a small tooltip pops up to tell you what the button does. If the button is disabled then Cardbox also shows a yellow box next to the button, telling you why it&#8217;s disabled, in the same way that it does with <a href="http://cardboxeverywhere.wordpress.com/2007/12/10/programming-note-ws_ex_topmost/">disabled menu items</a>.</p>
<p>On Windows, the tooltip and the yellow box are adjacent, so that you can read them both. On Wine, the tooltip was in the same place as the yellow box and obscuring part of it.</p>
<p><span id="more-18"></span></p>
<p>The problem lay with the <code>TTN_SHOW</code> notification that was sent by the tooltip to the toolbar window. The Microsoft documentation says, ambiguously, &#8220;This notification notifies the owner window that a ToolTip control is about to be displayed&#8221;.</p>
<p>Windows does this:</p>
<ol>
<li>Prepare the tooltip window, giving it the correct size and position.</li>
<li>Send <code>TTN_SHOW</code>.</li>
<li>Make the tooltip window visible.</li>
</ol>
<p>Wine does this:</p>
<ol>
<li>Send <code>TTN_SHOW</code>.</li>
<li>Prepare the tooltip window, giving it a size and position.</li>
<li>Make the tooltip window visible.</li>
</ol>
<p>This causes trouble for Cardbox. When Cardbox receives <code>TTN_SHOW</code> it asks the tooltip control for its size and position, and uses this information to decide where to put its yellow information box so that there is no interference. The bad screen display with Wine came about because the tooltip control didn&#8217;t have a size and position yet and so wasn&#8217;t taken into account when Cardbox was positioning its information box.</p>
<p>It was easy enough to get Cardbox to work round this (instead of handling <code>TTN_SHOW</code> directly, it posted a message to itself, which was processed after the tooltip had been made visible and given a size and position).</p>
<p>Nevertheless, <em>this inconsistency between Wine and Windows is worth correcting</em> in case other programs depend on the Windows behaviour. For example, Raymond Chen of Microsoft, in his Old New Thing blog,  has <a href="http://blogs.msdn.com/oldnewthing/archive/2006/06/26/647365.aspx" target="_blank">a posting</a> that refers to <code>TTN_SHOW</code>. He shows how a program can dynamically adjust the position of tooltips at the moment they are displayed. His technique can&#8217;t work if the tooltip resizes itself after <code>TTN_SHOW</code> has been processed, and many Windows programs are likely to be affected if Wine behaves the &#8220;wrong&#8221; (ie. non-Microsoft) way.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cardboxeverywhere.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cardboxeverywhere.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cardboxeverywhere.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cardboxeverywhere.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cardboxeverywhere.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cardboxeverywhere.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cardboxeverywhere.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cardboxeverywhere.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cardboxeverywhere.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cardboxeverywhere.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cardboxeverywhere.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cardboxeverywhere.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cardboxeverywhere.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cardboxeverywhere.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cardboxeverywhere.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cardboxeverywhere.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=18&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cardboxeverywhere.wordpress.com/2007/12/11/programming-note-tooltips-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2aed1be59489a1610b340cba3dc73ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cardbox</media:title>
		</media:content>
	</item>
		<item>
		<title>Cardbox on the Macintosh</title>
		<link>http://cardboxeverywhere.wordpress.com/2007/12/10/cardbox-on-the-macintosh/</link>
		<comments>http://cardboxeverywhere.wordpress.com/2007/12/10/cardbox-on-the-macintosh/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 11:00:43 +0000</pubDate>
		<dc:creator>cardbox</dc:creator>
				<category><![CDATA[Macintosh]]></category>

		<guid isPermaLink="false">http://cardboxeverywhere.wordpress.com/2007/12/10/cardbox-on-the-macintosh/</guid>
		<description><![CDATA[We have just added a new section on running Cardbox on the Mac to the Knowledge Base page. This explains the alternatives and gives detailed instructions for installation and use with CrossOver Mac. CrossOver Mac has turned out to be a very stable and professional package: to continue the metaphor, it could be described as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=27&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We have just added a new section on <a href="http://www.cardbox.com/support/kb.htm#mac" target="_blank">running Cardbox on the Mac</a> to the Knowledge Base page. This explains the alternatives and gives detailed instructions for installation and use with CrossOver Mac.</p>
<p>CrossOver Mac has turned out to be a very stable and professional package: to continue the metaphor, it could be described as &#8220;like Wine, but drinkable&#8221;.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cardboxeverywhere.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cardboxeverywhere.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cardboxeverywhere.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cardboxeverywhere.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cardboxeverywhere.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cardboxeverywhere.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cardboxeverywhere.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cardboxeverywhere.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cardboxeverywhere.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cardboxeverywhere.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cardboxeverywhere.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cardboxeverywhere.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cardboxeverywhere.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cardboxeverywhere.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cardboxeverywhere.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cardboxeverywhere.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=27&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cardboxeverywhere.wordpress.com/2007/12/10/cardbox-on-the-macintosh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2aed1be59489a1610b340cba3dc73ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cardbox</media:title>
		</media:content>
	</item>
		<item>
		<title>Programming note: WS_EX_TOPMOST</title>
		<link>http://cardboxeverywhere.wordpress.com/2007/12/10/programming-note-ws_ex_topmost/</link>
		<comments>http://cardboxeverywhere.wordpress.com/2007/12/10/programming-note-ws_ex_topmost/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 08:00:31 +0000</pubDate>
		<dc:creator>cardbox</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Wine bugs]]></category>

		<guid isPermaLink="false">http://cardboxeverywhere.wordpress.com/2007/12/10/programming-note-ws_ex_topmost/</guid>
		<description><![CDATA[This posting is of historical interest. It exists to help other programmers who may come across a similar problem. When you move your mouse over a disabled (grey) menu item, Cardbox tells you why it&#8217;s disabled: On CrossOver Mac, the yellow explanatory window hid behind the main Cardbox window and couldn&#8217;t be seen. The cause [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=17&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This posting is of  historical interest. It exists  to help other programmers who may come across a similar problem.</p>
<p>When you move your mouse over a disabled (grey) menu item, Cardbox tells you why it&#8217;s disabled:</p>
<p align="center"><img src="http://www.cardbox.com/bin/blog/20051205.gif" alt="Illustration of help for disabled command" /></p>
<p> On CrossOver Mac, the yellow explanatory window hid behind the main Cardbox window and couldn&#8217;t be seen.</p>
<p><span id="more-17"></span></p>
<p>The cause turns out to be the way that Wine handles the <code>WS_EX_TOPMOST</code> attribute. If a window is invisible and has <code>WS_EX_TOPMOST</code>, and you then make it visible, Windows displays it as a topmost window and Wine doesn&#8217;t (although <code>WS_EX_TOPMOST</code> remains set).</p>
<p>The cure is to use <code>SetWindowPos(,HWND_TOPMOST,...)</code> to force the window to be a topmost one after you have made it visible.</p>
<p><span></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cardboxeverywhere.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cardboxeverywhere.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cardboxeverywhere.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cardboxeverywhere.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cardboxeverywhere.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cardboxeverywhere.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cardboxeverywhere.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cardboxeverywhere.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cardboxeverywhere.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cardboxeverywhere.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cardboxeverywhere.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cardboxeverywhere.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cardboxeverywhere.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cardboxeverywhere.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cardboxeverywhere.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cardboxeverywhere.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=17&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cardboxeverywhere.wordpress.com/2007/12/10/programming-note-ws_ex_topmost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2aed1be59489a1610b340cba3dc73ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cardbox</media:title>
		</media:content>

		<media:content url="http://www.cardbox.com/bin/blog/20051205.gif" medium="image">
			<media:title type="html">Illustration of help for disabled command</media:title>
		</media:content>
	</item>
		<item>
		<title>Bugs: viewing online help</title>
		<link>http://cardboxeverywhere.wordpress.com/2007/12/07/bugs-viewing-online-help/</link>
		<comments>http://cardboxeverywhere.wordpress.com/2007/12/07/bugs-viewing-online-help/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 08:00:51 +0000</pubDate>
		<dc:creator>cardbox</dc:creator>
				<category><![CDATA[Wine bugs]]></category>

		<guid isPermaLink="false">http://cardboxeverywhere.wordpress.com/2007/12/07/bugs-viewing-online-help/</guid>
		<description><![CDATA[Windows Help behaves inconsistently in different configurations of CrossOver Mac. To reproduce these bugs, open any Cardbox database and do Search &#62; Select. When the search box has opened, press F1 (or fn+F1) to open the online help. Under Windows you will get this: Under CrossOver Mac, with no additional software installed, you will get [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=12&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Windows Help behaves inconsistently in different configurations of CrossOver Mac.</p>
<p>To reproduce these bugs, open any Cardbox database and do Search &gt; Select. When the search box has opened, press F1 (or fn+F1) to open the online help.</p>
<p>Under Windows you will get this:</p>
<p><img src="http://cardboxeverywhere.files.wordpress.com/2007/12/winhelp.gif?w=450" alt="Windows XP" /></p>
<p><span id="more-12"></span></p>
<p>Under CrossOver Mac, with no additional software installed, you will get this:</p>
<p><img src="http://cardboxeverywhere.files.wordpress.com/2007/12/bare-win98.png?w=450" alt="Bare CrossOver" /></p>
<p>(When you try to close this window you will see that there are two identical windows with identical contents, one obscuring the other).</p>
<p>Under CrossOver Mac using a Win98 bottle in which Microsoft Internet Explorer 6 has been installed, you will get this:</p>
<p><img src="http://cardboxeverywhere.files.wordpress.com/2007/12/win98ie.png?w=450" alt="Win98 and IE" /></p>
<p>Under CrossOver Mac using a Win2000 bottle in which Microsoft Internet Explorer 6 has been installed, you will get this:</p>
<p><img src="http://cardboxeverywhere.files.wordpress.com/2007/12/win2000ie.png?w=450" alt="Win2000 and IE" /></p>
<p>Again there are two identical windows, one on top of the other. Quite often closing one of these windows will cause Cardbox to crash with an error reported in <code>hhctrl.ocx</code>, or to disappear without any message at all.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cardboxeverywhere.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cardboxeverywhere.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cardboxeverywhere.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cardboxeverywhere.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cardboxeverywhere.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cardboxeverywhere.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cardboxeverywhere.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cardboxeverywhere.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cardboxeverywhere.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cardboxeverywhere.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cardboxeverywhere.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cardboxeverywhere.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cardboxeverywhere.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cardboxeverywhere.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cardboxeverywhere.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cardboxeverywhere.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=12&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cardboxeverywhere.wordpress.com/2007/12/07/bugs-viewing-online-help/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2aed1be59489a1610b340cba3dc73ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cardbox</media:title>
		</media:content>

		<media:content url="http://cardboxeverywhere.files.wordpress.com/2007/12/winhelp.gif" medium="image">
			<media:title type="html">Windows XP</media:title>
		</media:content>

		<media:content url="http://cardboxeverywhere.files.wordpress.com/2007/12/bare-win98.png" medium="image">
			<media:title type="html">Bare CrossOver</media:title>
		</media:content>

		<media:content url="http://cardboxeverywhere.files.wordpress.com/2007/12/win98ie.png" medium="image">
			<media:title type="html">Win98 and IE</media:title>
		</media:content>

		<media:content url="http://cardboxeverywhere.files.wordpress.com/2007/12/win2000ie.png" medium="image">
			<media:title type="html">Win2000 and IE</media:title>
		</media:content>
	</item>
		<item>
		<title>Programming note: tooltips</title>
		<link>http://cardboxeverywhere.wordpress.com/2007/12/06/programming-note-tooltips/</link>
		<comments>http://cardboxeverywhere.wordpress.com/2007/12/06/programming-note-tooltips/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 08:00:46 +0000</pubDate>
		<dc:creator>cardbox</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Wine bugs]]></category>

		<guid isPermaLink="false">http://cardboxeverywhere.wordpress.com/2007/12/06/programming-note-tooltips/</guid>
		<description><![CDATA[This posting is of historical interest. It exists to help other programmers who may come across the same problem. Once Cardbox was working under Wine, we found something very awkward about using it. Whenever you moved the mouse onto a button, intending to click it, Cardbox would lose the input focus and you would have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=10&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This posting is of historical interest. It exists to help other programmers who may come across the same problem.</p>
<p>Once Cardbox was working under Wine, we found something very awkward about using it. Whenever you moved the mouse onto a button, intending to click it, Cardbox would lose the input focus and you would have to click the mouse twice: once to get the focus back to Cardbox and once to click the button.</p>
<p><span id="more-10"></span></p>
<p>Observation showed that this happened with any control that had a tooltip that popped up when the mouse was over the tooltip.It turns out that while Windows allows you to create tooltips with</p>
<pre>CreateWindow(TOOLTIPS_CLASS,NULL,TTS_ALWAYSTIP|TTS_NOPREFIX,...</pre>
<p>Wine requires you to use</p>
<pre>CreateWindow(TOOLTIPS_CLASS,NULL,WS_POPUP|TTS_ALWAYSTIP|TTS_NOPREFIX,...</pre>
<p>to prevent the tooltip from seizing the input focus.</p>
<p>Once this change was made, buttons behaved normally and only needed to be clicked once. Fortunately Windows does not object to the use of <code>WS_POPUP</code>, so there was no need for Cardbox to detect Wine and behave differently for it.</p>
<p>Programs such as Internet Explorer suffer from the same problem for the same reason, but of course no-one has access to Internet Explorer&#8217;s source code to make the necessary changes. Wine itself needs to be corrected.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cardboxeverywhere.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cardboxeverywhere.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cardboxeverywhere.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cardboxeverywhere.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cardboxeverywhere.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cardboxeverywhere.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cardboxeverywhere.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cardboxeverywhere.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cardboxeverywhere.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cardboxeverywhere.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cardboxeverywhere.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cardboxeverywhere.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cardboxeverywhere.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cardboxeverywhere.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cardboxeverywhere.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cardboxeverywhere.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=10&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cardboxeverywhere.wordpress.com/2007/12/06/programming-note-tooltips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2aed1be59489a1610b340cba3dc73ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cardbox</media:title>
		</media:content>
	</item>
		<item>
		<title>Programming note: CoInitializeEx</title>
		<link>http://cardboxeverywhere.wordpress.com/2007/12/05/programming-note-coinitializeex/</link>
		<comments>http://cardboxeverywhere.wordpress.com/2007/12/05/programming-note-coinitializeex/#comments</comments>
		<pubDate>Wed, 05 Dec 2007 08:00:36 +0000</pubDate>
		<dc:creator>cardbox</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://cardboxeverywhere.wordpress.com/2007/12/05/programming-note-coinitializeex/</guid>
		<description><![CDATA[This posting is of historical interest. It exists to help other programmers who may come across a similar problem. With a one-line change we had got Cardbox working on Internet databases. Now the time had come to try it on local databases: that is, databases stored on the computer that is running Cardbox. This is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=11&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This posting is of historical interest. It exists to help other programmers who may come across a similar problem.</p>
<p><span id="more-11"></span></p>
<p>With a one-line change we had got Cardbox working on Internet databases. Now the time had come to try it on local databases: that is, databases stored on the computer that is running Cardbox. This is worrying because it is more complex than the Internet case. With Internet databases, Cardbox communicates via TCP/IP with a remote server that is already running when Cardbox starts. With local databases, Cardbox has to launch a &#8220;hidden server&#8221; automatically and communicate with it using shared memory. This exercises many more components of Windows, including Microsoft&#8217;s dreaded COM/OLE &#8211; dreaded because it is an awkward implementation of an awkward design. You only have to look at how many versions of the OLE DLL files Microsoft have had to issue to see that even the inventor of the technology had difficulty coping with it.</p>
<p>We tried File &gt; Open &gt; My Computer, clicked on a database, and sure enough, Cardbox crashed.</p>
<p>Looking at the crash, we saw that a <code>CoCreateInstance</code> call that never fails under Windows had failed under Wine. We modified Cardbox so that it would report an error in this case, rather than crashing, and braced ourselves for the discovery that the COM/OLE implementation in basic Wine was so weak that Cardbox would never work.</p>
<p>That discovery never came. The bug turned out to be ours. The <code>CoCreateInstance </code>call is run in a separate thread, and it turned out that we had not called <code>CoInitializeEx </code> in that thread. For some reason Windows didn&#8217;t mind &#8211; probably because it automatically put the thread in the multi-threaded apartment, which is where we wanted it to be &#8211; but Wine (constructed independently from the Windows documentation) enforced the requirement. Putting</p>
<pre>CoInitializeEx(NULL,COINIT_APARTMENTTHREADED);</pre>
<p>at the start of the thread procedure and</p>
<pre>CoUninitialize();</pre>
<p>at the end removed the bug.</p>
<p>Now Cardbox could open local databases just as it could open Internet databases. It looked as if the whole thing was going to work after all.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cardboxeverywhere.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cardboxeverywhere.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cardboxeverywhere.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cardboxeverywhere.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cardboxeverywhere.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cardboxeverywhere.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cardboxeverywhere.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cardboxeverywhere.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cardboxeverywhere.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cardboxeverywhere.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cardboxeverywhere.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cardboxeverywhere.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cardboxeverywhere.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cardboxeverywhere.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cardboxeverywhere.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cardboxeverywhere.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cardboxeverywhere.wordpress.com&amp;blog=2170684&amp;post=11&amp;subd=cardboxeverywhere&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cardboxeverywhere.wordpress.com/2007/12/05/programming-note-coinitializeex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2aed1be59489a1610b340cba3dc73ec?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cardbox</media:title>
		</media:content>
	</item>
	</channel>
</rss>
