开发工具:
文件大小: 3mb
下载次数: 0
上传时间: 2019-03-02
详细说明:PowerBuilder Native Interface Programmers
Guide and ReferenceContents
About this book
PART 1
PROGRAMMERS GUIDE
CHAPTER 1
Introduction to pbni
About abni
Understanding Power Builder extensions .......... 4
Embedding the PBVM in a C++ application
The elements of pani
The PBNi sDK
Comparing pani and jnI
CHAPTER 2
Building Power Builder Extensions
Nonvisual extension example
Building the pbadd Power Builder extension
Using the extension in Power Builder
..15
Creating a Power Builder extension
Step 1: Decide on a feature to implement
Step 2: Define the classes and functions in the extension..18
Step 3: Declare native classes and global functions
Step 4: Implement native classes and global functions
Step 5: Export methods to create class instances
24
Step 6: Build a pBx
Adding an extension to a Power Builder target
Using the extens
5567
Creating and using a visual extension
Step 1: Decide on a feature to implement
Step 2: Define the classes and functions in the extension .. 27
Step 3: Declare visual classes and global functions
Step 4: Implement native classes
Step 5: Export methods to create class instances
Step 6: Build and use a PBx
88889
Step 7: Use the visual extension in an application
PBNI Programmers Guide and Reference
Contents
Creating visual class instances
Event processing in visual extensions
Using an event name with return type and arguments
Using an event name with a Power Builder event ID.....35
Processing events sent to the parent of the window
36
Calling PowerScript from an extension.
Example: Calling power builder functions
EXception handling and debugging
ChAPTER 3
Creating Marshaler Extensions…,,…,
About marshaler extensions
Developing the Power Builder extension
Step 1: Describe the extension
45
Step 2: Implement the creator class
46
Step 3: Implement the marshaler class
Generating proxies for Java classes
Calling the Java class from Power Builder
CHAPTER 4
Exchanging Data with PowerBuilder
53
About exchanging data with Power Builder
Passing values between extensions and the PBVM
PBCalllnfo structure
.54
PB Arguments interface
54
PB∨ alue interface
55
Using the iPb session interface
Saving data from iPb value to a local variable
59
Using variables throughout a session……
Handling enumerated types
62
CHAPTER 5
Calling Power Builder from C++……
About calling Power Script from C++ applications
Calling PowerBuilder objects from C++
Creating a Power Builder object to be called from C++
64
Getting the signature of a function……
65
Creating the C++ application
….66
Running the C++ application
70
Accessing result sets
70
Processing power Builder messages in C++
Example
More PBni possibilities
76
Power Builder classic
Contents
PART 2
REFERENCE
CHAPTER 6
PBNI Types and Return Values
Power Builder to PBNI datatype mappings
Types for access to Power Builder data
PBNI enumerated types
Error return values
84
CHAPTER 7
PBNI Interfaces, Structures, and Methods
85
file contents
Class and interface summary
86
IPB Arguments interface
Getat
GetCount
iPb Result setAccessor interface
Add Ref
GetColumn Count
90
GetColumn MetaData
GetltemData
GetRow Count
92
Release
93
IPB RSItemData interface
SetData
SetNull
b Session interface
Acquirearray ltem∨ae
Acquire value
10
Add Argument
Addglobalref
104
AddLocalRef
Clear Exception
105
Create Resultset
Findclass
Find class By ClassID
Find Group
110
Find Matching Functi
110
Free Calllnfo
Getstype>Arrayltem
GetField
Getstype>GlobalVar
115
GetShared Var
116
iNtO
GetArrayltemType
118
PBNI Programmers Guide and Reference
Contents
GetArrayLength
GetBlob
120
GetBloblength
Getclass
GetclassName
GetCurrGroup
122
GetDate string
GetDate Time String
GetDecimalString
,124
GetEnumltemName
:··
124
GetEnumltemvalue
125
GetException
126
GetFieldID
.126
GetFⅰ eldName
127
tFieldT ype
128
GetGlobalvarID
128
Get GlobalVarType
GetMarshaler
130
GetMethodiD
GetMethodi dBy EventID
132
GetNativelnterface
133
GetNumOfFields
■■1
134
GetP BAnyarrayltem
134
GetPBAny Field
..135
GetP BAny GlobalVar
137
GetP BAny Sharedvar
137
GetProp
138
GetResult setAccessor
138
GetsharedvarID
139
GetSharedVarType
GetString
141
Getstringlength
142
GetSuperClass
142
Getsystemclas
143
GetSystem groi
GetTime string
.144
Has Exception Thrown
Has PBvisualobject
145
InitcallInfo
.146
Invoke ClassFunction
147
Invoke ObjectFunction
,148
IsArrayltemNull
IsAutolnstantiate
149
Is FieldArray
149
Power Builder clas
Contents
Fieldnull
IsFieldObject
15
I VarArray…
151
Globalvarnull
I s Global Varobject
I object
154
Is SharedvarArra
sharedvarnull
I s Shared object
New blob
New boundedobjecta
New Bounded SimpleArray
158
NewDate
New DateTime
New Decimal
160
Newobject
New Proxyobject
NewString
New Time
NewUnboundedobjectarray
NewUnboundedSimpleArray. ....164
PopLocalFrame
P
PBMe
Pushlocalframe
167
Release
167
Release array lnfc
167
Release Date String…
Release Date Time String
168
ReleaseDecimalString
Release ResultsetAccessor
Release String
Release TimeString……
170
Releasevalue
171
Remove GlobalRef
172
Removelocalref
172
Remove Prop
173
RestartRequested
173
Set Arrayltem
174
etField
176
setG| obalvar…………
Set SharedVar
178
SetarrayltemToNull
180
SetArrayltemValue………,
SetBlob
181
PBNI Programmers Guide and Reference
Contents
SetDate
SetDate Time
.182
SetDecimal
SetField Tonu‖.
SetGlobalvarTonull
184
SetMarshaler
SetPro
185
SetsharedvarToNull
Setstring
188
SetTime
:
Setvalue
SplitDate
SplitDateTime
.19
SplitT ime
..192
ThrowException
TriggerEvent
Update Field
PB∨ alue interface∴
195
Get
196
Getclass
GetType
197
DiSarray…,…,
198
ss
198
199
IsNull
sss
objec
20
ettoNul
002
200
IPB VM interface
Create Session
0000
RunApplication
iPBX Marshaler interface
206
Destro
206
GetModulehandle
.207
Invoke Remote method
208
IPBX NonVisualObject interface. 209
IPBX UserObject interface
210
Dest
210
Invoke
210
IPBX Visualobject interface
Create Control
212
GetEventID
214
GetWindow ClassName
.216
Power Builder classic
Contents
PBArrayInfo structure
217
PBCalllnfo structure
217
Pb Date Data structure
218
Pb Date Time Data structure
218
PB Time Data structure
218
PBX Drawltem struct structure
219
PBArrayAccessor template class
GetAt
IsNull
SetAt.………
SetTonull
PBBoundedArray Creator template class
GetArray
SetAt
PBBoundedobject Array Creator class
GetArra
226
SetAt
226
PBObjectArray Accessor class
227
Getat
SetAt
228
PBUnboundedArray creator template class
229
Getarra
SetAt
PBUnboundedobjectArray creator class
230
SetAt
231
Exported methods…,,,…
232
PBX CreateNon visualobject
PBX CreateVisualobject
..234
PBX Draw Visualobject
235
PBX GetDescription
PBX InvokeGlobalFunction
PBX Notify
241
Method exported by Power Builder VM
242
Pb Get∨M
242
chAPtER 8
PBNI Tool Reference
…245
Dsig 120
245
bx2pbd 120
248
PBNI Programmers Guide and Reference
Contents
ParT 3
APPENDⅨX
APPENDIX A
Using the visual Studio Wizards
Where the wizards are installed
253
Generating a PBNI project
..255
Setting project options
255
Building and using the PBX
256
Index∴
Power Builder classic
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.