Step 1:
Describe the extension
The class that implements the creator, called CJavaVM in the
following example, must export the PBX_GetDescription function. It
inherits from NonVisualObject and has two functions,
CreateJavaObject and CreateJavaVM:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
PBXEXPORT LPCTSTR PBXCALL PBX_GetDescription() { static const TCHAR desc[] = { "class javavm from nonvisualobject " "function long createjavavm(string classpath, string properties[]) " "function long createjavaobject(ref powerobject proxyobject, readonly string javaclassname, readonly string proxyname) " "end class " }; return desc; } |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest