Upcoming Changes to Android OS: What CoPilot Users Need to Know

Using PC*MILER Rail-Connect from 'C'

How to create applications that use the PCRSRV32.DLL in ‘C’ or any language that can call DLLs using the Pascal calling convention.

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...
Wed, 25 Nov, 2020 at 3:18 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....
Wed, 25 Nov, 2020 at 3:20 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...
Wed, 25 Nov, 2020 at 3:22 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...
Wed, 25 Nov, 2020 at 3:28 PM
Looking Up Place Names and Railroads (Geocoding)
Several functions are included in PC*MILER Rail-Connect that support looking up places and railroads. HRESULT PCRSGeoLookup(Trip trip, char *geoName, ch...
Wed, 25 Nov, 2020 at 3:30 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...
Wed, 25 Nov, 2020 at 3:31 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...
Wed, 25 Nov, 2020 at 3:33 PM
Changing Rail Routing Options
The functions below affect the trip’s routing calculation. HRESULT PCRSSetRouteFormula (Trip trip, char  *newParam) PCRSSetRouteFormula() allows use...
Wed, 25 Nov, 2020 at 3:34 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 ...
Wed, 25 Nov, 2020 at 3:36 PM