Unsupported usage of PBInvoke
The following modes may (or may not) work but are not supported officially.
Using PBInvoke with PowerBuilder 5 (PBInvoke supports only PB 6 and above)
Machine code targets (DLL builds)
Web and .Net targets (WinForm, WebForm, JSP, Web services ...)
Only P-code (PBD) builds are supported.
The following features will be implemented in one of the future versions of PBInvoke.
.Net interop (calls to external .Net classes, not under .Net targets)
Java interop (calls to external Java classes)
Calls via function pointers (now only named DLL functions and PB callbacks can be called)
Double, float as a return type for callbacks. However pointers to such types are supported as a return type.
Any struct of size of more than 4 bytes as a return type for any function.
However pointers to such structures are supported as a return type.
C++ classes, structures inherited from other structures.
Supported data types
WinAPI constants and types