Once the license is verified, set options related to the current server session. These options include the ability to specify casing and matchkey code, and to select the components included in standardization, validation, and formatting actions:
SetOption(&myServer,
OONAddressCasing,
OCOUpperCase);
SetOptionMask(&myServer,
OONFormatComponents1,
OFTCity,
false);
SetOptionMask(&myServer,
OONFormatComponents1,
OFTCedex,
false);
SetOptionMask(&myServer,
OONFormatComponents1,
OFTRegion,
false);
SetOptionMask(&myServer,
OONFormatComponents1,
OFTPostcode,
false);
SetOptionMask(&myServer,
OONFormatComponents1,
OFTCountry,
false);