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 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
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
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
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
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
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
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
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
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
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