07.07.2015 Views

COM/MTS Guide - Prolifics

COM/MTS Guide - Prolifics

COM/MTS Guide - Prolifics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER4 Building ClientScreensIn Panther Windows applications, any Panther client screen can access <strong>COM</strong>components. A series of C functions, also callable in JPL, are available for interactingwith all Panther service components, in either a <strong>COM</strong> or Enterprise JavaBean Pantherapplication. In addition, there are some C functions written specifically for <strong>COM</strong> or<strong>MTS</strong> deployment.You can also embed ActiveX controls in a client screen. However, ActiveX controlsare the only <strong>COM</strong> components visible in a client screen. All other <strong>COM</strong> componentsmust first be instantiated before setting their properties or calling their methods. Forinformation about using ActiveX controls in client screens, refer to Chapter 19,“ActiveX Controls,” in Using the Editors.Working with <strong>COM</strong> ComponentsInstantiating <strong>COM</strong> ComponentsYou must first specify which type of service components are currently in use with thecurrent_component_system property: PV_SERVER_<strong>COM</strong> for <strong>COM</strong> components.<strong>COM</strong>/<strong>MTS</strong> <strong>Guide</strong> 4-1

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

Saved successfully!

Ooh no, something went wrong!