PTV proudly presents …

… the first official tutorial for PTV Developer Components in YouTube.

[youtube=http://www.youtube.com/watch?v=-iaiTymQ4No]

 

Watching the video you will find a lot of meaningful instructions for installing PTV Developer Components.

  • How to install PTV xServer and PTV Maps?
  • What additional keys do I need to run PTV xServer?
  • Do I have to configure something?
  • Can I start PTV xServer as services?
  • How can I check that PTV xServer run correctly?

Use the video to find the answers! We would be pleased to receive your feedback about the video. Do you think it is a proper instrument to enhance our software documentation?

We would like to extend the manuals explaining typical use cases. This should be a comfortable guide (easy to listen) to learn more about the use of our developer components.

Please post a comment, write in our forum or send an email! It’s up to you if PTV speeds up the efforts to create more videos showing different use cases in the context of geo-services, field force optimization, trip planning, track and tracing, navigation and a lot more.

Yours sincerly

Dr. Michael Nutto
——————————————–
Product Manager of PTV Developer Commponents

PTV MapServer SDK 5.6: Registry-Free installation – avoid a DLL-hell!

All ancient PTV MapServer versions result in a registry-based integration of the PTV MapServer-COM-DLLs. When the installation is complete, the new PTV MapServer version is also available to all other applications using it – many customers maintain a map&guide and an own developed application on their own system.

A real disadvantage of this system-wide PTV MapServer installation is the risk of overwriting the configuration of an already existing PTV MapServer-application, which is highly bounded to its own PTV MapServer version. This behaviour results into the so-called DLL-hell.
Commonly a PTV MapServer update should not cause any problems, because the PTV MapServer interface is kept downwards compatible – but due to its huge amount of functionality, its semantic behaviour may change unintentionally from time to time. So, the opportunity to provide an application with its own dedicated and tested PTV MapServer is preferable.
To achieve this goal, the PTV MapServer SDK 5.6 supports a technology called “win32 side-by-side”. With Windows XP, Microsoft introduced this technology. Central point is an application specific manifest, which is an XML file matching a predefined schema (further details can be seen in http://msdn2.microsoft.com/en-us/library/aa375632.aspx). Inside, it refers to all COM-DLLs used by this application, especially their locations in the filesystem. To make these DLLs only known to the application, a subfolder of the application exe can be used.
To provide a convenient way for a registry-free installation, the PTV MapServer InstKit Setup contains a manifest with all existing PTV MapServer-DLLs. The references of these DLLs all link to a subfolder named PTV.Logistics.MapServer, to where the InstKit setup copies these DLLs. This happens, if an exe-path is specified in the command line of the InstKit setup:

 setup.exe -s -ptv:Path"c:/programs/MyCompany/MyApplication.exe"

Please pay attention for a correct specification of the parameter -ptv:Path: Spelling mistakes result in a registry-based installation, which is apparently not desired. Also the -characters have to be used, independently of existing spaces inside the pathname.

If the spelling is correct, the InstKit-setup

  • copies all PTV MapServer-DLLs to the folder c:/programs/MyCompany/PTV.Logistics.MapServer, whereat no COM registration is performed. So, these DLLs remain unknown to other applications.
  • copies and renames the application-specific manifest to c:/programs/MyCompany/MyApplication.exe.manifest. This naming convention (appending .manifest at the end of the exe-filename) is mandatory for a correct functioning. This application-specific manifest only contains a reference to a PTV MapServer specific manifest in the PTV.Logistics.MapServer folder.

This approach offers the opportunity to aggregate other third-party-DLLs in the same manner by simply adding <assemblyIdentity>keys in the application’s manifest:

MyApplication.exe.manifest

...
<dependency>
 <dependentAssembly>
 <assemblyIdentity name="PTV.Logistics.MapServer" version="5.6.0.10" type="win32" processorArchitecture="x86"/>
 <assemblyIdentity name="ThirdPartyLTDFolderName" version="4.7.1.1" type="win32" processorArchitecture="x86"/> </dependentAssembly>
</dependency>
...

Please be aware, that the manifest-mechanism is based on the Microsoft-COM technology itself, it is not implemented by the PTV MapServer.

Information and contact data for questions concerning PTV MapServer:

PTV xServer Content – Installation and usage

You want to use Content with the PTV xServer? As registered customer of PTV xServer you find documents for the installation and usage of the following Content within the PTV DevelopersZone:

  • Emissions calculation using HBEFA 3.1
  • Traffic Information
  • Postcodes GB an NL
  • Truck Attributes

Just visit the Update & Download area, login and go to sub-page “Documents”

Some Content ist subject to licence.  Please contact your responsible sales person for account activation.