Windows Format SElibdynamicLink Library Procedure Convention desc arg1 arg2

Windows format selibdynamiclink library procedure

This preview shows page 204 - 208 out of 334 pages.

Windows Format SElib.dynamicLink( Library, Procedure, Convention [ , [desc,] arg1, arg2, arg3, ..., arg n]) UNIX Format SElib.dynamicLink( Library, Procedure [ , arg1, arg2, arg3, ... arg n]) NOTE: In UNIX, Siebel CRM cannot use the Siebel Library Call DLL method to pass more than 22 arguments. These 22 arguments include the shared library name and the procedure name. You can configure Siebel CRM to pass up to 20 more arguments.
Image of page 204
Methods Reference Siebel Library Methods Siebel eScript Language Reference Version 8.1, Rev. A 205 Table 118 describes the arguments for the Siebel Library Call DLL method. Table 118. Arguments for the Siebel Library Call DLL Method Argument Description Library The library argument can include the following: In Microsoft Windows, the name of the DLL that contains the procedure. In UNIX, the name of a shared object. You must specify the fully qualified path name. Procedure The name or ordinal number of the procedure in the library dynamic link method. Convention The calling convention. desc Passes a Unicode string. For example, WCHAR. arg1, arg2, arg3, ..., argn Arguments for the Siebel Library Call DLL method.
Image of page 205
Siebel eScript Language Reference Version 8.1, Rev. A Methods Reference Siebel Library Methods 206 Usage for the Convention Argument Table 119 describes the calling conventions you must use with the Siebel Library Call DLL method. Usage if An Argument Is Not Defined Siebel CRM passes values as 32-bit values. If an argument is not defined when Siebel CRM calls the Siebel Library Call DLL method, then it assumes that the argument is a 32-bit value. It passes the address of a 32-bit data element to the Siebel Library Call DLL method. This method then sets the value. Usage If an Argument Is a Structure SELib is a feature that Siebel eScript uses to call functions in the native DLLs. These DLLs can contain functions implemented in a third party language, such as C or C++. In this situation, an argument can be a structure. Table 119. Calling Conventions for the Siebel Library Call DLL Method Value Description CDECL Send the argument that appears last in the list first. For example, consider the following format: SElib.dynamicLink( Library, Procedure, Convention [ , [desc,] arg1, arg2, arg3 ]) If arg1, arg2, and arg3 are defined, then this method sends the arguments in the following order: arg3 arg2 arg1 The caller reads the arguments. The STDCALL value is almost always used in Win32. STDCALL PASCAL Send the argument that appears first in the list first. For example, consider the following format: SElib.dynamicLink( Library, Procedure, Convention [ , [desc,] arg1, arg2, arg3 ]) If arg1, arg2, and arg3 are defined, then this method sends the arguments in the following order: arg1 arg2 arg3 The callee reads the arguments.
Image of page 206
Methods Reference Siebel Library Methods Siebel eScript Language Reference Version 8.1, Rev. A 207 If an argument is a structure, then it must be a structure that defines the binary data types in memory. Siebel CRM does the following: 1 Copies the structure to a binary buffer.
Image of page 207
Image of page 208

You've reached the end of your free preview.

Want to read all 334 pages?

  • Summer '16
  • Oracle
  • Type system, Siebel, Siebel eScript

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes