PC*MILER|Rail-Connect Function Declarations

Rail Trip Management Functions
HRESULT _PCRSFN PCRSInitSrv(const char *name, const char *iniFile) name: arbitrary (usually calling application) iniFile: path and name of PC*MILER|Rail I...
Thu, 2 Aug, 2018 at 2:47 PM
Rail Utility and Error Handling Functions
HRESULT _PCRSFN PCRSGetError(int *errno) errno: a pointer to an integer into which the current error # will be placed HRESULT _PCRSFN PCRSGetErrorSt...
Thu, 2 Aug, 2018 at 2:46 PM
Rail Routing and Mileage Functions
HRESULT _PCRSFN PCRSCalcTrip(Trip trip, char *orig, char *origRR, char *origGeo, char *dest, char *destRR, char *destGeo, long *pMiles) trip: a valid trip ...
Thu, 2 Aug, 2018 at 3:03 PM
Rail AutoRouter Functions
HRESULT _PCRSFN PCRSClearAutoRouter (Trip trip)   HRESULT _PCRSFN PCRSAddAutoRouteOrig (Trip trip, char *geoName, char *geoChar, char *rrIn) geoName: ...
Thu, 2 Aug, 2018 at 3:28 PM
Rail State Mileage Functions
HRESULT _PCRSFN PCRSGetAllStateRRMileage (Trip trip, MileageStruct* combinationArray, long numCombinations) combinationArray: the output list containing Mi...
Thu, 2 Aug, 2018 at 3:45 PM
Rail Stop Management and Geocoding Functions
HRESULT _PCRSFN PCRSAddStop(Trip trip, char *stopName, char *rrIn, char *geoChar) stopName: placeName or geocode geoChar: City, SPLC, FSAC, ERPC, or Rule2...
Thu, 2 Aug, 2018 at 4:09 PM
Rail Report Functions
HRESULT _PCRSFN PCRSGetRpt (Trip trip, char *rptType, char *buffer, int bufSize, int *pBuflen) rptType: K, D, or G(Key Station, Detailed Route, or Detailed...
Thu, 2 Aug, 2018 at 6:52 PM
Rail-Connect Troubleshooting
Solutions for some asked questions about PC*MILER|Rail-Connect. Running your application generates the error ‘Cannot find PCRSRV32.DLL’ This error is c...
Mon, 5 Nov, 2018 at 3:41 PM