xyzLinux
Monday, August 21, 2006
Build VNC .NET
C:\Program Files\Microsoft Visual Studio 8SmartDevices\SDK\CompactFramework\2.0\v1.0\WindowsCE
On a Pocket PC==============1) Install Pocket C#.2) Put all source files in \pc#\proj\vncviewer.3) Tap on either vncviewer.debug.csant (debug build) or vncviewer.release.csant (release build).4) The build process should complete in one to two minutes.
On a Windows desktop====================1) Install .NET Framework SDK 1.1.2) Execute C:\Program Files\Microsoft.NET\SDK\v1.1\Bin\sdkvars.bat. Replace the path with whatever appropriate.3) Put all source files in a directory.4) Open a command prompt.5) CD to where you put the source files.6) Execute csc /target:winexe /win32icon:vncviewer.ico /out:vncviewer.exe *.cs7) The build process should complete in seconds.
On a Windows desktop (exe runs on both desktop, PPC, and Smartphone)====================================================================If binary compatibility is desired when building on desktop, follow the following steps:1) Install .NET Framework SDK 1.1.2) Copy the .NET Compact Framework DLLs to a directory on the desktop. You can obtain the DLLs from various sources. For example, you can copy the DLLs from a Pocket C# distribution or an installed .NET Compact Framework SDK. These files are: Microsoft.WindowsCE.Forms.dll mscorlib.dll System.Data.dll System.dll System.Drawing.dll System.Net.IrDA.dll System.Web.Services.dll System.Windows.Forms.DataGrid.dll System.Windows.Forms.dll System.Xml.dll3) Execute C:\Program Files\Microsoft.NET\SDK\v1.1\Bin\sdkvars.bat. Replace the path with whatever appropriate.4) Put all source files in a directory.5) Open a command prompt.6) CD to where you put the source files.7) Execute the following line, replacing the path of the various DLLs accordingly: csc /target:winexe /win32icon:vncviewer.ico /out:vncviewer.exe /nostdlib /noconfig /reference:\pc#\netcf\System.dll;\pc#\netcf\mscorlib.dll;\pc#\netcf\System.Xml.dll;\pc#\netcf\System.Drawing.dll;\pc#\netcf\System.Windows.Forms.dll *.cs8) The build process should complete in seconds.Remarks: Please see builddbg.bat and buildrel.bat for reference.
To add hi-res support (VGA on PPC and QVGA on Smartphone)=========================================================1) Complete the build process as outlined above.2) Install the Windows Mobile Developer Resources from Microsoft.3) Open a command prompt and execute the following command, replacing the paths with whatever appropriate in your environment. res2exe -c "C:\Program Files\Developer Resources for Windows Mobile 2003 Second Edition\tools\hidpi.res" C:\pc#\proj\vncviewer\vncviewer.exeRemarks: Please see builddbg.bat and buildrel.bat for reference.
Saturday, August 05, 2006
Wireless router plus printer server
- D-Link DI-704UP
- Wireless (802.11g /802.11abg) Routers / Access Point / Print Server
- PrinterSharingHowto
- Printing Architecture - The Code Project - Printing
- Linksys Wireless-G PrintServer WPS54G - TalkingTree.com
- HP Jetdirect and Embedded Jetdirect Inside Print Servers ...

