Next:
Contents
 
Contents
LuaCOM User Manual
(Version 1.1)
Vinicius Almendra - Renato Cerqueira
Contents
1. Introduction
1.1 Features
1.2 How to use
1.3 Some information about samples
2. LuaCOM Elements
2.1 LuaCOM API
2.2 LuaCOM objects
2.3 ActiveX binding
2.3.1 Implementing
dispinterfaces
in Lua
2.3.2 Using Methods and Properties
2.3.2.1 Generic LuaCOM objects
2.3.2.2 Property Access in Lua
2.3.3 Connection Points
2.3.4 Parameter Passing
2.3.4.1 Calling COM from Lua
2.3.4.2 Calling Lua from COM
2.3.5 Exception Handling
2.4 Type Conversion
2.4.1 Boolean values
2.4.2 Pointers to
IDispatch
and LuaCOM objects
2.4.3 Pointers to
IUnknown
2.4.4 Arrays and Tables
2.4.5
CURRENCY
type
2.4.6
DATE
type
2.4.7 Error Handling
3. Implementing COM objects in Lua
3.1 Introduction
3.2 Is it really useful?
3.3 Terminology
3.4 Building a LuaCOM COM server
3.4.1 Specify the component
3.4.2 Objects to be exported
3.4.3 Building the type library
3.4.4 Registration Information
3.4.5 Registering the Component Object
3.4.6 Implementing and Exposing the Component
3.4.7 Initialization and Termination
Initialization
Termination
3.5 Running the COM server
3.6 Generating Events
4. Release Information
4.1 Limitations
4.2 Known bugs
4.3 Future Enhancements
4.4 Visual Basic© issue
4.5 History
Version 1.1
Version 1.0
Version 0.9.2
Version 0.9.1
5. Reference
5.1 The C/C++ API
luacom_open
Prototype
Description
Sample
luacom_close
Prototype
Description
Sample
luacom_detectAutomation
Prototype
Description
Sample
luacom_IDispatch2LuaCOM
Prototype
Description
Sample
5.2 The Lua API
CreateObject
Use
Description
Parameters
Return Values
Sample
Connect
Use
Description
Parameters
Return Values
Sample
ImplInterface
Use
Description
Parameters
Return Values
Sample
ImplInterfaceFromTypelib
Use
Description
Parameters
Return Values
Sample
GetObject
Use
Description
Parameters
Return Values
Sample
NewObject
Use
Description
Parameters
Return Values
Sample
ExposeObject
Use
Description
Parameters
Return Values
Sample
RegisterObject
Use
Description
Parameters
Return Values
Sample
addConnection
Use
Description
Parameters
Return Values
Sample
releaseConnection
Use
Description
Parameters
Return Values
Sample
ProgIDfromCLSID
Use
Description
Parameters
Return Values
Sample
CLSIDfromProgID
Use
Description
ShowHelp
Use
Description
Parameters
Return Values
Sample
GetIUnknown
Use
Description
Parameters
Return Values
Sample
isMember
Use
Description
Parameters
Return Values
Sample
6. Credits
About this document ...
Vinicius da Silva Almendra 2003-06-27