Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 3 of 6

PTC-1800 Software Development Kit Programming Guide: Getting Ready

Pages 12 to 20 of 48, from PTC-1800 Software Development Kit Programming Guide

The original document is the PDF (346 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Telxon PTC-1800

Page 12

Getting Ready Visual Studio Microsoft Visual Studio is the standard integrated development environment for Windows CE. This section will indicate what is needed to use Visual Studio with the PTC1800.

4

PTC-1800 SDK Programming Guide

Page 13

C/C++ Programming Setting up for Programming C/C++ Setup/Install in the following order/sequence: • Use the latest version of Visual Studio (6.0 or later). Make sure that the Visual C/C++ modules are installed. • Install the Windows CE C++ Toolkit. This is a purchase item from Microsoft. • Install Windows CE H/PC Pro SDK for C++. The H/PC Pro SDK may be downloaded from Microsoft’s web site (www.microsoft.com). • Install the PTC-1800 SDK for C/C++. • Read Appendix A, Known Microsoft Problems (as of March 2000).

With the proper toolkits and platforms installed, you can build and debug projects for the PTC-1800. Visual Studio will take care of downloading the necessary files to your device, including any necessary DLLs.

PTC-1800 SDK Programming Guide

5

Page 14

When creating a new project, the illustration below shows how to select a Windows CE application and the ARM processor.

Microsoft Foundation Class (MFC) Programming With the proper toolkits and platforms installed, you can build and debug MFC projects for the PTC-1800. The PTC-1800 does not include the MFC DLLs in its Windows CE 2.12 image. A programmer who wishes to use MFC must include the necessary DLLs (available from Microsoft) in the program image.

6

PTC-1800 SDK Programming Guide

Page 15

Visual Basic Programming Setting up for Programming Visual Basic • Use the latest version of Visual Studio (6.0 or later). Be sure that the Visual Basic modules are installed. • Install the Windows CE Visual Basic Toolkit. This is a purchase item from Microsoft. • Install Windows CE H/PC Pro SDK for Visual Basic. The H/PC Pro SDK can be downloaded from the Microsoft web site (www.microsoft.com). • Install the PTC-1800 SDK for Visual Basic. Symbol will provide this program. Visual Basic With the proper toolkits and platforms installed, you may build and debug Visual Basic projects for the PTC-1800. Visual Basic will even build the installation package for you. The PTC-1800 does not include the Visual Basic runtime or supported controls in its Windows CE 2.12 image. A programmer who wishes to use Visual Basic must include the necessary DLLs (available from Microsoft) in the program image. The PTC-1800 Windows CE image is setup to recognize the Visual Basic DLLs in the “\harddisk” directory instead of the standard “\windows” directory.

PTC-1800 SDK Programming Guide

7

Page 16

Active Sync Microsoft ActiveSync is the main communication vehicle between a desktop PC and a Windows CE device, both for the development and exchange of data. Use Version 3.0 or later for all development. The use of prior versions is not recommended. ActiveSync has replaced the previous Microsoft product named “CE Services.” ActiveSync may be downloaded from Microsoft’s web site. Examples of ActiveSync services are • An “Explorer-like” window on your desktop PC that allows you to view folders on the Windows CE device and transfer files. • A communications link to your Windows CE device for Visual Studio and associated tools, including the Visual Studio debugger, Remote Registry Editor, and others.

Active Sync Connections For these services to work, a “connection” is required between your desktop PC and the CE device. An Active Sync connection is either a partnership or a guest account. A partnership allows the “connection” to operate over a LAN.

8

PTC-1800 SDK Programming Guide

Page 17

A connection is a “desktop-PC-to-CE-device” entity that is indifferent to the communications media. Connections may be created via: • Serial port to serial port via cable. • Serial port to serial port via IrDA. • Microsoft Networking via RF and wireless LAN (requires partnership). The number of connections that a Windows CE device is able to support is limited. Only one partnership on a desktop PC and one Windows CE device can be active at one time.

Using ActiveSync with the PTC-1800 The PTC-1800 lacks a serial port so the IrDA port must be used for the initial partnership with the device. Once the IrDA partnership is established, the communications link can be switched from IrDA to LAN (RF + wired). The following IrDA dongle has been used with success attached to desktop PCs and communicating with PTC-1800 (Extended Systems Jeteye PN ESI9680B). This dongle comes with QuickBeam Suite software. Install this software on your desktop PC. Symbol recommends the use of the default port COM4.

PTC-1800 SDK Programming Guide

9

Page 18

Initial Partnership Once the IrDA is installed, follow these steps to create an initial partnership with the PTC-1800: • Select File|Get Connected on ActiveSync. ActiveSync will start checking COM ports for the presence of a Windows CE device. You need to execute the next step quickly before ActiveSync gives up on COM4. • On the PTC-1800, Start “repllog.exe” (System Menu|Programs|PC Link). Place the PTC-1800’s IrDA port in line with the IrDA device. • If you are successful, ActiveSync will indicate that it has found a new device. Follow the prompts to specify that you want to create a partnership. Specify that you DO want a partnership. You can deselect all of the sync options for the partnership. • If you get a prompt asking whether you want partnerships on multiple computers, select Yes. PTC-1800 will support a maximum of two partnerships. • The partnership should be established. If you have not been successful, try these steps again. Once an initial partnership is established, you may continue to use IrDA as your communications link or you may switch to RF and wireless LAN, which is a much faster link.

10

PTC-1800 SDK Programming Guide

Page 19

Guest Connection Once the IrDA is installed, follow these steps to create an initial guest connection with the PTC-1800: • Select File|Get Connected on ActiveSync. ActiveSync will start checking COM ports for the presence of a Windows CE device. You need to execute the next step quickly before ActiveSync gives up on COM4. • On the PTC-1800, Start “repllog.exe” (System Menu|Programs|PC Link). Place the PTC-1800’s IrDA port in line with the IrDA device. • If you are successful, ActiveSync will indicate that it has found a new device. Follow the prompts to specify that you want to create a partnership. Specify that you DO want a guest account. • The guest account should be established. If you have not been successful, try these steps again.

PTC-1800 SDK Programming Guide

11

Page 20

Partnership Via Wireless LAN Once you have an initial partnership set up between a desktop PC and a CE device, you can switch to wireless LAN as your communication link for faster communications. Here are the steps to achieve this link: • Make sure that the radio in the PTC-1800 is registered to an access point on the LAN to which your desktop PC is connected. • Make sure that WINS in the PTC-1800 is set up for your WINS name server. The PTC-1800 will look, by name, for the same PC with which it had established a partnership via IrDA. It uses WINS to do this. • Break the existing IrDA partnership with your PC, if any. • Start “repllog.exe /remote” on the PTC1800 (System Menu|Programs|Remote Link). Select Network in the list box. • The partnership will be established.

12

PTC-1800 SDK Programming Guide