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...
Mon, 5 Nov, 2018 at 1:40 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....
Thu, 13 Dec, 2018 at 10:01 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...
Mon, 5 Nov, 2018 at 2:23 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...
Mon, 5 Nov, 2018 at 1:55 PM
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
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
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
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
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