All Manuals > LispWorks COM/Automation User Guide and Reference Manual

NextPrevTopContents

Index

A

accessor functions

lisp-variant-type 127

lisp-variant-value 127

ActiveX controls ix

add-ref function 4 , 27

automation-server-command-line-action function 28

automation-server-main function 29

automation-server-top-loop function 32

C

call-com-interface macro 4 , 33

call-com-object macro 15 , 24 , 35

call-dispatch-get-property macro 99

call-dispatch-method macro 100

call-dispatch-put-property macro 102

Calling

Automation methods

using a type library 87

without using a type library 88

COM interface methods 4

COM object methods 24

check-hresult macro 36

class options

:coclass 110

:coclass-reusable-p 111

:dont-implement 50

:extra-interfaces 111

:inherit-from 49

:interface 108

:interfaces 49 , 110

:item-method 108

:source-interfaces 111

classes

com-dispatch-invoke-exception-error 97

com-error 41

com-interface 42

com-object 43

simple-i-dispatch 142

standard-automation-collection 145

standard-i-connection-point-container 148

standard-i-dispatch 149

standard-i-unknown 73

:coclass class option 110

:coclass-reusable-p class option 111

co-create-guid function 37

co-initialize function 14 , 38

collections

implementing 93

using 90

COM interface types

i-dispatch 124

i-unknown 57

com-dispatch-invoke-exception-error class 97

com-dispatch-invoke-exception-error-info function 98

com-error class 41

com-error-function-name function 41

com-error-hresult function 41

com-interface class 4 , 42 , 88 , 89

com-interface-refguid function 42

com-object class 43

com-object-destructor function 16 , 43

com-object-dispinterface-invoke generic function 103

com-object-from-pointer function 44

com-object-initialize function 16 , 45

com-object-query-interface function 46

compiling IDL files 1

connection points

implementing 93

using 90

CoTaskMemAlloc 39

co-task-mem-alloc function 10 , 38

CoTaskMemFree 40

co-task-mem-free function 8 , 10 , 40

co-uninitialize function 40

:count-function initarg 145

create-instance function 47

create-instance-with-events function 105

create-object function 106

D

:data-function initarg 146

define-automation-collection macro 107

define-automation-component macro 109

define-com-implementation macro 14 , 48

define-com-method macro 14 , 51

define-dispinterface-method macro 112

defsystem member types

:midl-file 63

:midl-type-library-file 132

deliver function 2 , 31 , 33

destruction 16

discard-connection function 117

disconnect-standard-sink function 114

dispinterface 86 , 92 , 99 , 101 , 102 , 103 , 112 , 152

:dll-exports Delivery keyword 2

do-collection-items macro 115

do-connections macro 116

:dont-implement class option 50

dual interface 86 , 91

E

editor commands

Function Arglist 161

Insert GUID 161

environment variables

INCLUDE 62

errors

handling in Automation 91

handling in COM 12

reporting 93

events

see connection-points

:extra-interfaces class option 111

F

find-clsid function 53

find-component-tlb function 117

find-component-value function 119

FLI types

hresult 56

refguid 66

refiid 67

Function Arglist editor command 161

:function-name initarg 41

functions

add-ref 27

automation-server-command-line-action 28

automation-server-main 29

automation-server-top-loop 32

co-create-guid 37

co-initialize 14 , 38

com-dispatch-invoke-exception-error-info 98

com-error-function-name 41

com-error-hresult 41

com-interface-refguid 42

com-object-destructor 16 , 43

com-object-from-pointer 44

com-object-initialize 16 , 45

com-object-query-interface 46

co-task-mem-alloc 10 , 38

co-task-mem-free 8 , 10 , 40

co-uninitialize 40

create-instance 47

create-instance-with-events 105

create-object 106

discard-connection 117

disconnect-standard-sink 114

find-clsid 53

find-component-tlb 117

find-component-value 119

get-error-info 121

get-i-dispatch-name 122

get-i-dispatch-source-names 123

get-object 54

guid-equal 55

guid-to-string 56

hresult-equal 57

interface-connect 124 , 125

invoke-dispatch-get-property 127

invoke-dispatch-method 128

invoke-dispatch-put-property 130

make-factory-entry 14 , 16 , 59

make-guid-from-string 60

make-lisp-variant 131

midl 2 , 61

query-interface 64

query-simple-i-dispatch-interface 133

refguid-interface-name 66

register-class-factory-entry 14 , 16 , 68

register-server 68

release 70

server-can-exit-p 71

server-in-use-p 71

set-automation-server-exit-delay 72

set-error-info 136

set-i-dispatch-event-handler 137

set-variant 140

start-factories 14 , 16 , 74 , 75

unregister-server 76

G

Garbage collection 16

generic functions

com-object-dispinterface-invoke 103

simple-i-dispatch-callback-object 144

get-error-info function 12 , 121

get-i-dispatch-name function 122

get-i-dispatch-source-names function 123

get-object function 54

guid-equal function 55

guid-to-string function 56

H

hresult FLI type 56

:hresult initarg 41

hresult-equal function 57

I

i-dispatch COM interface type 124

IDL

compiling 1

iid_is attribute 8

in parameters 6 , 21 , 24 , 89

INCLUDE environment variable 62

:inherit-from class option 49

initialization

CLOS object 15

COM object 15

in-out parameters 10 , 23 , 25 , 89

Insert GUID editor command 161

:interface class option 108

interface-connect function 124 , 125

:interface-name initarg 142

interface-ref macro 58

:interfaces class option 49 , 110

:invoke-callback initarg 142

invoke-dispatch-get-property function 127

invoke-dispatch-method function 128

invoke-dispatch-put-property function 130

:item-generator-function initarg 145

:item-lookup-function initarg 146

:item-method class option 108

:items-function initarg 145

i-unknown COM interface type 57

L

lisp-variant type 126

lisp-variant-type accessor function 127

lisp-variant-value accessor function 127

M

macros

call-com-interface 33

call-com-object 15 , 35

call-dispatch-get-property 99

call-dispatch-method 100

call-dispatch-put-property 102

check-hresult 36

define-automation-collection 107

define-automation-component 109

define-com-implemenrtation 14 , 48

define-com-method 14 , 51

define-dispinterface-method 112

do-collection-items 115

do-connections 116

interface-ref 58

query-object-interface 15 , 65

s_ok 70

succeeded 75

with-com-interface 77 , 150

with-com-object 79

with-dispatch-interface 151

with-query-interface 82

with-temp-interface 81

make-factory-entry function 14 , 16 , 59

make-guid-from-string function 60

make-lisp-variant function 131

making a COM DLL 2

midl function 2 , 61

midl.exe 2 , 5 , 20

:midl-file defsystem member type 63

:midl-type-library-file defsystem member type 132

modules

automation 85

com 1 , 85

N

name mapping 3

New in LispWorks 6.1

automation-server-command-line-action function 28

automation-server-main function 29

automation-server-top-loop function 32

:coclass-reusable-p class option in define-automation-component 111

co-create-guid function 37

com-dispatch-invoke-exception-error 97

com-dispatch-invoke-exception-error-info 98

Easier way to run an Automation server 92

get-active-object 120

get-object 54

register-active-object 134

revoke-active-object 135

server-can-exit-p function 71

server-in-use-p function 71

set-automation-server-exit-delay function 72

O

OLE ix

other applications

registering objects for 94

out parameters 7 , 22 , 25 , 89

:outer-unknown initarg 73

P

parameter direction

in 6 , 21 , 24 , 89

in-out 10 , 23 , 25 , 89

out 7 , 22 , 25 , 89

Primitive types 5 , 20

propget attribute 3

propgput attribute 3

propgputref attribute 3

Q

query-interface function 4 , 64

query-object-interface macro 15 , 65

query-simple-i-dispatch-interface function 133

:quit-when-no-windows Delivery keyword 33

R

refguid FLI type 66

refguid-interface-name function 66

refiid FLI type 4 , 67

register-class-factory-entry function 14 , 16 , 68

register-server function 68

registry

component values 119

guid 53

ProgID 53

type library versions 117

release function 4 , 70

retval attribute 89

S

s_ok macro 70

save-image function 2 , 31

server-can-exit-p function 71

server-in-use-p function 71

set-automation-server-exit-delay function 72

set-error-info function 53 , 94 , 136

set-i-dispatch-event-handler function 137

set-variant function 140

simple-i-dispatch class 142

simple-i-dispatch-callback-object generic function 144

size_is attribute 6 , 8 , 10 , 21 , 22 , 23 , 24 , 25

source attribute 111

source interfaces 93

:source-interfaces class option 111

standard-automation-collection class 145

standard-i-connection-point-container class 148

standard-i-dispatch class 149

standard-i-unknown class 73

start-factories function 14 , 16 , 74 , 75

string attribute 6 , 8 , 10 , 21 , 22 , 23 , 24 , 25

succeeded macro 75

T

tools

COM Implementation Browser 155

COM Interface Browser 160

COM Object Browser 159

type libraries 85

types

lisp-variant 126

U

unregister-server function 76

W

Windows registry 53 , 117 , 119

with-com-interface macro 4 , 77 , 150

with-com-object macro 24 , 79

with-dispatch-interface macro 151

with-query-interface macro 4 , 82

with-temp-interface macro 4 , 81


LispWorks COM/Automation User Guide and Reference Manual - 19 Dec 2011

NextPrevTopContents