RouteX Document Router Toolkit
Main Functions Types & Errors Query Language Demo Home

rxCreateRouter

Creates a RouteX object. This object contains all of RouteX's data and is used by most other functions in the toolkit.

Synopsis

RouteX rxCreateRouter( ULongT Passcode1, ULongT Passcode2, StatusCodeT *Status )

Arguments

Passcode1 A long integer that represents your permission code to use the library. This value was given to your when you purchased RouteX.
Passcode2 A second long integer representing a permission code to unlock the library.
Status A pointer to a value of type StatusCodeT. If an error occurs during the execution of the function a value representing the error will be stored in *Status. You should check *Status after every function call.

Returns

A RouteX object of type RouteX. This object contains all the data used by RouteX. You will pass this object to most function calls.

Related Functions

rxDeleteRouter

Example

StatusCodeT  Status;

RouterX      Router;



Router = rxCreateRouter( 0x0011FFFFL, 0x0011FFFFL, &Status );



if ( *Status < 0 ) {

   printerror( Status );

   return; // error

}



// 

// rest of program using RouteX goes here

// 

 

rxDeleteRouter( Router, &Status );



if ( *Status < 0 ) {

   printerror( Status );

   return; // error

}

 

Previous Main Next Home

Copyright 2000 Lextek International