Woody Home Page
AR1688 Windows Tools Compiled with VC2008
Aug 18, 2010
I replaced my 3.5 year old Sony PCG-K23 with current Sony VGN-FW235J 20 months ago, but I still kept the old system updated as I need VC6 to compile AR1688 and PA1688 Windows tools. During the period the MS automatic updating had successfully made it slow enough even when running VC6 as the only application, I had to switch AR1688 tools to compile with VC2008 finally.
After I started the work, I found that someone else had already done the switch before, all tools can be compiled successfully with multi-byte character set, but most obviously Manager.exe debug output becomes strange on my 64-bit Vista system.
I decided to compile everything with the new default unicode option. This task took much more time than I expected. The mixed using of memcpy/strcmp and CString caused a lot of problems in unicode.
The test result looks ok so far. The most interesting part is, all of the command line tools like hex2bin.exe are about 30% smaller than before with multi-byte compile, and reduced 10% more in size with unicode. GUI based Manager.exe is also a little smaller than before. And the total zipped software API package reduced about 10% in size, from 2.4M bytes to 2.2M bytes.
I tried to upgrade SDCC 2.9.0 from VC6 to VC2008 in the next step, but after several hours I gave up. It ends with a mess, neither multi-byte nor unicode configuration can compile it successfully. We can only use VC6 compiled SDCC at this time, fortunately we do not have to change it frequently. We would have to use mingw and gcc to compile SDCC 3.0.0 when it is ready in the near future.
We are announcing 0.47.021 as AR1688 0.48 software release candidate 1, the API can now be downloaded from our website. The 0.48 version is scheduled to release on Oct 1.
As those AR1688 tools are now compiled with Microsoft Visual Studio 2008 (VC9) and Windows SDK v7.1, users might need to download and install related VC9 redistributable package from Microsoft first. It is 1.8M bytes, much smaller than the 5M bytes Microsoft Visual Studio 2010 (VC10) redistributable package, but much larger than my familiar MFC42.dll.

No comments for this page yet.

More options? Please login or register account.