10.07.2015 Views

QuickAddress Pro API - QAS.com

QuickAddress Pro API - QAS.com

QuickAddress Pro API - QAS.com

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

User Interface <strong>API</strong>Sample CodeTesting Your UI <strong>API</strong> InstallationThe <strong>Pro</strong> User Interface <strong>API</strong> is supplied with a very simple application calledqs_ui.exe, and with sample code. Together these can be used to verify that youhave installed <strong>Pro</strong> <strong>API</strong> correctly, and to demonstrate some of the <strong>API</strong>’s keyfunctionality.The test harness enables you to obtain matching addresses and picklists frominput address information that you type in.See “Sample Code” on page 11 for more information about the purpose of thesample code. The UI integration scenario is the preferred solution on Windowsas it uses the standard <strong>Pro</strong> dialog, therefore minimising the size and <strong>com</strong>plexityof the integration, and meaning that you have access to both Single Line andTypedown engines, as well as the standard User Interface functionality(selection of layouts and databases; menus; toolbars etc.).If you are running the UI <strong>API</strong> test harness in client/server mode, any loss ofconnection between client and server results in the display of appropriatewarnings. Refer to the Client / Server documentation for more information.The examples in this section use the C version of the test harness. See thereadme.txt file for details of other test harnesses and sample code. The VB testharness is available either as qs_uivb.exe in the directory where the <strong>Pro</strong>program is installed, or as a shortcut from the Start > <strong>Pro</strong>grams menu. If theVB test harness is used, you must first enter a search and press Search to makethe UI dialog pop up.<strong>QuickAddress</strong> <strong>Pro</strong> <strong>API</strong> User Interface <strong>API</strong> Sample Code • 15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!