07.07.2015 Views

COM/MTS Guide - Prolifics

COM/MTS Guide - Prolifics

COM/MTS Guide - Prolifics

SHOW MORE
SHOW LESS

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

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

Sample <strong>COM</strong> ComponentsProgramming for <strong>MTS</strong> Deployment<strong>COM</strong> components deployed under <strong>MTS</strong> can call C functions to access <strong>MTS</strong> features,such as:! Database transactions (refer to page 5-8, “Using Database Transactions”)! Security checking (refer to page 5-7, “Assign Roles for Component Access”)Sample <strong>COM</strong> ComponentsThe Panther <strong>COM</strong> Gallery contains sample <strong>COM</strong> components. One of thosecomponents, cCustomers, fetches a list of restaurant names according to the user'ssearch parameters. The service component looks like this in the Panther editor:<strong>COM</strong>/<strong>MTS</strong> <strong>Guide</strong> 3-19

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

Saved successfully!

Ooh no, something went wrong!