SftTree/DLL 6.5

Building Applications for Windows Mobile Platforms

Softel vdm, Inc.

SftTree/DLL 6.5 supports development using C/C++, targeting Windows Mobile platforms (such as Windows CE, Pocket PC, SmartPhone) using eMbedded Visual C++ 4.0 and Visual Studio 2005-2010, available from Microsoft.

For Windows Mobile platforms support, SftTree/DLL 6.5 - Windows Mobile Edition is required.

An application using the C or C++ programming language and each project must be prepared in order to use SftTree/DLL. The required steps are shown in "Building Applications" and "Using C" or "Using C++/MFC".

Because development of an application for Windows Mobile platforms is performed on other platforms (i.e., not a Windows Mobile platform), the application must be updated with the required licensing information, so it can be debugged under an emulator or distributed for use by end-users.

Updating Project Settings

Additional Lib File
Run-Time Licensing

Additional Lib File

The application's executable (Exe or Dll) must be linked with an additional Lib file. The required Lib file is located in the product directory \Program Files\Softelvdm\SftTree DLL 6.5\Lib. On Windows 64-bit versions, the root folder is \Program Files (x86).

 

CPU

Lib File

ARMV4 

ARMV4\SftTreeDLL65_License.lib 

ARMV4I 

ARMV4I\SftTreeDLL65_License.lib

ARMV4T 

ARMV4T\SftTreeDLL65_License.lib 

MIPS16 

MIPS16\SftTreeDLL65_License.lib 

MIPSII 

MIPSII\SftTreeDLL65_License.lib 

MIPSII_FP 

MIPSII_FP\SftTreeDLL65_License.lib 

MIPSIV 

MIPSIV\SftTreeDLL65_License.lib 

MIPSIV_FP 

MIPSIV_FP\SftTreeDLL65_License.lib 

MIPSSH3 

SH3\SftTreeDLL65_License.lib 

MIPSSH4 

SH4\SftTreeDLL65_License.lib 

emulator 

emulator\SftTreeDLL65_License.lib 

x86 

x86\SftTreeDLL65_License.lib 

Make sure to update all configurations (both Debug and Release).

A) eMbedded Visual C++ 4.0

Using the Project, Settings... menu command, the Project Settings dialog is accessed so the Link settings can be modified.

B) Visual Studio 2005, 2008, 2010

Using the Project, Properties... menu command, the project's Linker, Input properties are accessed so Additional Dependencies can be modified.

Run-Time Licensing

Updating an application with the required licensing information, so it can be debugged under an emulator or distributed for use by end-users, is a simple process.  When a new project is created, the Project Settings must be updated by using the Project, Settings menu command to access the Post-build step settings.

The following single command line must be added:

SoftelvdmIncPostLinkUpdate.exe  your-license  $(TargetPath)

Substitute your actual license number.  Your license number is printed on your installation media (CD) or you may have received it as part of your online delivery.  Your license number in also located on the Help, About dialog displayed by the SftTree/DLL Wizard application.

SoftelvdmIncPostLinkUpdate.exe can only be executed on a licensed system.

If multiple developers work on the same project (and share the same project files and settings), the same (one) license number can be used by all developers on the project (provided each such developer has his/her own license installed on their development systems).

If successful, SoftelvdmIncPostLinkUpdate will produce the following output:

SoftelvdmIncPostLinkUpdate: Licensing information for license your-license successfully saved

Otherwise, an error message box is displayed with additional error information.

Make sure to update all configurations (both Debug and Release).

A) eMbedded Visual C++ 4.0

Use the Project, Settings... menu command to access the "Post-build step" tab on the Project Settings dialog and enter the command line shown above.

B) Visual Studio 2005, 2008, 2010

Use the Project, project-name Settings... menu command to access the Build Event, Post-Build Event settings and enter the command line shown above.

 


Feedback / comments / error reports for this topic
© 2009 - Softel vdm, Inc. - www.softelvdm.com