<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx</link><description>I've seen people internally and externally ask for help copying files out of \Windows on the device, usually EXEs and DLL files. I'm not sure what their end goal - sometimes it's to try those binaries on a different device but there are probably other</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#6908002</link><pubDate>Sun, 30 Dec 2007 18:07:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6908002</guid><dc:creator>Tibor</dc:creator><description>&lt;p&gt;When you target multiple Windows Mobile versions from one binary, it is often the case that you statically link to a function or dll which doesn't exists on one version or flavour but works fine on others. Currently there is no usable tool to find these troubleshot points.&lt;/p&gt;
&lt;p&gt;On desktop Windows you would just use "depends" and identify these issues in minutes. On Mobile the only way currently is to get a third party implementation of "depends" which supports CE (Dependency Walker), but to be able to use that efficiently you do need to extract the DLLs from the \Windows folder, which is not supported officially.&lt;/p&gt;
&lt;p&gt;This is a legitimate scenario, which I run into quite a few times already. When will we have an implementation of "depends", which runs on the device, I can feed it with an "EXE" or "DLL", and it gives me back the incorrect links? Or a legitimate way to extact the DLLs from the device.&lt;/p&gt;</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#6908984</link><pubDate>Sun, 30 Dec 2007 21:49:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6908984</guid><dc:creator>Scott Yost</dc:creator><description>&lt;p&gt;I'm not sure I have a great answer for you. Dependency Walker is what we use internally, but like you mention, you can't use it on the device. &lt;/p&gt;
&lt;p&gt;I doubt it will ever be easier in the short term to extract binaries from the MODULES section. The information that you need to reconstruct that DLL has been discarded to save space and boost runtime performance. It's probably possible to write a version of depends that would work on a device, though. That is a little bit out of my area of expertise.&lt;/p&gt;
</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#7015985</link><pubDate>Mon, 07 Jan 2008 17:57:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7015985</guid><dc:creator>Davide De Marchi</dc:creator><description>&lt;p&gt;Hy Scott&lt;/p&gt;
&lt;p&gt;I have an old HTC P3600 with Windows Mobile 5 and I buy the new HTC TyTN II.&lt;/p&gt;
&lt;p&gt;My VERY BIG problem is that I use thet phone for work and in the new Windows Mobile 6 there isn't the Remote Desktop Connection Client!!!!!!!&lt;/p&gt;
&lt;p&gt;I didn't find programs for the remote desktop connection (there are some program but all of these need to install something on the server and I don't wanto to do it) so I would try to extract mstsc40.exe from P3600 and copy it on TyTN II: could you tell me a name of &amp;quot;unsupported tools externally available that are able to copy the modules out of ROM&amp;quot;? &lt;/p&gt;
&lt;p&gt;thank you&lt;/p&gt;
&lt;p&gt;Davide&lt;/p&gt;</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#7120003</link><pubDate>Tue, 15 Jan 2008 22:57:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7120003</guid><dc:creator>djet</dc:creator><description>&lt;p&gt;Thanks for this post, one question less I have. Yet the others: &lt;/p&gt;
&lt;p&gt;1) Long time ago Mike wrote about significant difference between NAND and NOR storage that the latter can XIP. But AFAIK NOR is rare guest in modern PDAs. How can modules XIP then?&lt;/p&gt;
&lt;p&gt;2) Are these modules somehow connected with different WM *features* or they are just another type of file storage? &lt;/p&gt;
&lt;p&gt;3) How are modules physically stored in the firmware and what type of ROM area they correspond to: XIP, IMGFS, ..?&lt;/p&gt;
&lt;p&gt;Davide De Marchi, don't bother, better search for WM6 RDP cab. I doubt it's legal but when a $1000 device lacks basic features it's us who feel robbed. &lt;/p&gt;</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#7140616</link><pubDate>Thu, 17 Jan 2008 12:01:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7140616</guid><dc:creator>davidedemarchi</dc:creator><description>&lt;p&gt;Djet&lt;/p&gt;
&lt;p&gt;Thankyou for the signalling, I find and instll WM6 RDP cab and it work very well.&lt;/p&gt;
&lt;p&gt;Still cannot understand why Microsoft doesn't install it by default: it's only 700Kb and don't disturb anyone who don't want to use it....boh....&lt;/p&gt;
&lt;p&gt;Thank again&lt;/p&gt;
&lt;p&gt;Davide De Marchi&lt;/p&gt;
</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#7202398</link><pubDate>Wed, 23 Jan 2008 01:33:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7202398</guid><dc:creator>jabbp</dc:creator><description>&lt;p&gt;I have an dell Axim 51V with Windows Mobile 5 and I will buy the new HTC .&lt;/p&gt;
&lt;p&gt;My VERY BIG problem is that When I use the Remote Desktop Connection (Terminal service Client) in Axim51V , I &amp;nbsp;see all desktop screen, but &amp;nbsp;when I use &amp;nbsp;the Terminal Service Client in HTC I see a small part of desktop screen&lt;/p&gt;
&lt;p&gt;I would try to extract mstsc40.exe from Dell Axim 51V and copy it on HTC: could you tell me a name of &amp;quot;unsupported tools externally available that are able to copy the modules out of ROM&amp;quot;? &lt;/p&gt;
&lt;p&gt;thank you&lt;/p&gt;
&lt;p&gt;Jorge Babo&lt;/p&gt;
&lt;p&gt;forn@kraftbaterias.com.br&lt;/p&gt;
</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#7202708</link><pubDate>Wed, 23 Jan 2008 02:03:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7202708</guid><dc:creator>Scott Yost</dc:creator><description>&lt;p&gt;I can't help you do that. It violates our licensing agreements.&lt;/p&gt;
</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#7202872</link><pubDate>Wed, 23 Jan 2008 02:26:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7202872</guid><dc:creator>jabbp</dc:creator><description>&lt;p&gt;When I use the Remote Desktop Connection (Terminal service Client) in Axim51V , I can &amp;nbsp;see all desktop screen, so Could you tell me wich Smarthphone it’s same &amp;nbsp;Axim 51V Terminal service Client?&lt;/p&gt;
&lt;p&gt;Please help me!!!!!!!!!!!&lt;/p&gt;
</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#7428907</link><pubDate>Mon, 04 Feb 2008 09:43:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7428907</guid><dc:creator>cmonex</dc:creator><description>&lt;p&gt;well i'd like to correct some of the info here&lt;/p&gt;
&lt;p&gt;1. the original purpose of modules was indeed running them directly from ROM but nowadays that doesn't really happen (NAND). kind of an outdated concept unless you care about the time it takes the loader to fixup the addresses for an ordinary dll.&lt;/p&gt;
&lt;p&gt;2. you can extract and fully reconstruct DLL modules from wm5 and wm6. the information has not been discarded (as the update loader needs it). you have always been able to fully reconstruct EXEs (information has never been discarded for them). you can also fully reconstruct DLLs from earlier devices than WM5 (and from plain CE5) but that is a bit harder, though if the device is ARM then it can be 99% automated in a tool.&lt;/p&gt;
&lt;p&gt;3. it applies both to XIP and IMGFS modules.&lt;/p&gt;
&lt;p&gt;4. as for djet's other questions, they are not connected with features. physical storing? this is a broad topic, what did you mean?&lt;/p&gt;
&lt;p&gt;5. executabilitycheck will work as a dependencywalker on ARM and MIPS devices.&lt;/p&gt;</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#8327560</link><pubDate>Thu, 20 Mar 2008 20:18:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8327560</guid><dc:creator>Alex Soh</dc:creator><description>&lt;p&gt;When doing device driver development, I am only able to overwrite the dll file in \Windows once. I am not able to overwrite the dll file the second time. Why is it so?&lt;/p&gt;</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#8374660</link><pubDate>Thu, 10 Apr 2008 14:59:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8374660</guid><dc:creator>guna</dc:creator><description>&lt;p&gt;i bet microsoft should have been crazy thinking this as some part of security.&lt;/p&gt;
&lt;p&gt;its obvious that any person with WinCE knowledge and the output binary format will get the files back.&lt;/p&gt;
&lt;p&gt;this idea just makes life tough for normal average application developers.&lt;/p&gt;</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#8463419</link><pubDate>Tue, 06 May 2008 19:40:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8463419</guid><dc:creator>cmonex</dc:creator><description>&lt;p&gt;@ alex soh: rename the dll then copy your new version of it there then reboot. when it is in rom it lets you &amp;quot;overwrite&amp;quot;, afterwards it will be in use so no overwrite&lt;/p&gt;
&lt;p&gt;@ guna: yeah, though if you had read my post a bit more carefully, you'd see it wasn't entirely trivial before WM5. :)&lt;/p&gt;</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#8463441</link><pubDate>Tue, 06 May 2008 19:51:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8463441</guid><dc:creator>cmonex</dc:creator><description>&lt;p&gt;@ guna: I forgot to add, this was not for security reasons originally, I think&lt;/p&gt;</description></item><item><title>To Alex</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#8464489</link><pubDate>Wed, 07 May 2008 04:46:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8464489</guid><dc:creator>crusher</dc:creator><description>&lt;p&gt;not to sound harsh, nor funny, but the most logical answer for this is that you actually probably load the DLL into memory for usage, and &amp;quot;running&amp;quot; code may not be overwritten.&lt;/p&gt;</description></item><item><title>re: Why can't I copy programs out of \Windows?</title><link>http://blogs.msdn.com/windowsmobile/archive/2007/12/29/why-can-t-i-copy-programs-out-of-windows.aspx#9411476</link><pubDate>Wed, 11 Feb 2009 01:38:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9411476</guid><dc:creator>Ryan</dc:creator><description>&lt;p&gt;After reading WM docs and this thread, I still have following questions. Much appreciated if someone can help answer.&lt;/p&gt;
&lt;p&gt;First, try to confirm my understanding. The whole flash normally is partitioned into several pieces: ULDR section, NK section, IMGFS section and USERSTOE (configuable via memory.cfg.xml). Is this right?&lt;/p&gt;
&lt;p&gt;Second, are files in IMGFS partition are mapped into \windows directory? Those files (not MODULES) in IMGFS can be copied out of the device?&lt;/p&gt;
&lt;p&gt;Third, where are the files (core.dll, nk.exe, etc) in NK parition mapped to? are they readable (and copy-able) via Explorer in ActiveSync? &lt;/p&gt;</description></item></channel></rss>