PC*MILER


Using PC*MILER|Rail-Connect from 'C'

Building a PC*MILER|Rail-Connect Client Application
Building an application with PCRSRV32.DLL is similar to using other DLLs from your C programs. You’ll need to specify in your project the directories that c...
Mon, 5 Nov, 2018 at 1:40 PM
Starting and Stopping the Rail Server
Before your application can use any server functions, it must connect to and initialize the DLL. After it finishes, it must shut down the server connection....
Thu, 13 Dec, 2018 at 10:01 PM
Running Simple Rail Routes
The simplest way to use the server once it is initialized is to calculate mileage between two places. For example, calculating the miles between “Chicago IL...
Mon, 5 Nov, 2018 at 2:23 PM
Building a Railroad Trip
Another way to use the server is to build many complex trips with multiple stops and various options. For example, you could generate two trips from New Yor...
Mon, 5 Nov, 2018 at 2:54 PM
Managing Rail Stops
PC*MILER|Rail-Connect can calculate routes with many stops. When the client application adds stops to a trip, the DLL tries to "geocode" (match) t...
Mon, 5 Nov, 2018 at 1:55 PM
Looking Up Place Names and Railroads (Geocoding)
Several functions are included in PC*MILER|Rail-Connect which support looking up places and railroads. HRESULT PCRSGeoLookup(Trip trip, char *geoName, c...
Wed, 1 Aug, 2018 at 1:55 PM
Requesting Lat/Long Coordinates Along a Rail Route
The following function returns a list of latitude/longitude coordinates along a route line in sequential order, starting at the origin and ending at the des...
Mon, 5 Nov, 2018 at 2:13 PM
Getting a Mileage Breakdown by Railroad and State
The functions below return a list of unique combinations representing the mileage breakdown by railroad and state for a given trip.  PCRSGetAllStateRRMi...
Mon, 5 Nov, 2018 at 2:14 PM
Changing Rail Routing Options
The functions below affect the trip’s routing calculation. HRESULT PCRSSetRouteFormula (Trip trip, char  *newParam) PCRSSetRouteFormula() allows use...
Mon, 5 Nov, 2018 at 2:25 PM
Managing Overrides
If you are experiencing recurring errors caused by frequently occurring data input that PC*MILER|Rail can’t interpret, there are override files you can use ...
Mon, 5 Nov, 2018 at 2:28 PM