20.01.2015 Views

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

5<br />

The Class Library Reference<br />

Objectives - The objective of this chapter is to present the underlying framework of the<br />

e.<strong>net</strong> solutions Classes and Methods. By the end of this chapter you will have the basic<br />

grounding in e.<strong>net</strong> solutions that you require in order to interact with the SYSPRO<br />

application server.<br />

As we saw in the introductory section, in SYSPRO e.<strong>net</strong> solutions the COM object is<br />

implemented as a dynamic-link library (DLL) called ENCORE.DLL. When SYSPRO e.<strong>net</strong><br />

solutions is installed on a SYSPRO application server, ENCORE.DLL is installed in the<br />

SYSPRO base folder and registered to expose a number of interfaces as Public Objects.<br />

Each of these objects is essentially a class that categorizes methods according to the<br />

functionality of the class (see Figure 5.1, “The COM Object” [5–1]).<br />

We also saw that at run-time, e.<strong>net</strong> solutions creates new instances of these objects.<br />

Information could then be dynamically passed using an XML string that was defined by<br />

the method called.<br />

Figure 5.1. The COM Object

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

Saved successfully!

Ooh no, something went wrong!