tailieunhanh - Lotus Domino Release 5.0 A Developer’s Handbook phần 7

Một Applet CORBA cho phép có thể truy cập vào một đối tượng Domino kỳ họp từ xa, kết hợp với LiveConnect, làm cho tài sản này có sẵn cho JavaScript thông qua một tài sản công cộng hoặc phương pháp. Một trang HTML có thể có một phiên liên tục với máy chủ Domino qua JavaScript và sử dụng các DOM, mà không cần phải gửi | Furthermore there are constants for list and array type descriptions. Refer to the file INC and the LSX Toolkit Guide for details. Using LotusScript System Services The LotusScript client API offers you several system services. You are encouraged to use them rather than directly accessing the operating system API. This helps you to write LSXs which can be ported to other platforms more easily. The following paragraphs give you an overview of some of the services. For a detailed description refer to the files contained in the directory INC SYS. For example the file management service is declared in the file the actual service is enclosed in SERViCe_DECL_BEGIN FILeMgR and SERVICE_DECL_END. It consists of a set of functions you may call in any of your class methods. For all but the memory management system service you have to prepare your class to use the service. Preparatory Steps 1. First extend your LSX class slightly by adding a new private member class NewClass public LSXBase . private . PLSSFILEMGR pFM system services file manager . The member type is taken from the file INC SYS . 2. Then extend the class constructor to initialize it NewClass NewClass LSPTR LSXSession s PLSADTMSGCREATE args . initialization of base and class members LShINSTANCE hLSInstance LS instance handle for this class object get the instance hLSInstance s- LSXGetInstance get the file manager service handle this- pFM hLSInstance- Services- pFMGR . Chapter 11 Advanced Domino Programming 409 You will find a complete list of available system service handles in the file INC . They are defined as members of the structure LSSsAnchor. 3. Now your class methods can access the service void NewClass NewMethod PLSADTMSGMETHOD args assert this- pFM check that the file service is available . this- pFM- any FM service function Memory Management Service The API provides function calls for allocating and releasing heap memory. When the LSX uses this service the .

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.