請幫助我。我已存儲過程Oracle遠程過程中的PowerBuilder不支持的參數類型
message
(
out_error OUT INTEGER,
client_absid IN INTEGER,
document_subject IN VARCHAR,
document_text IN VARCHAR,
document_attachedfiles IN FILEINF_T,
p_client_abs IN VARCHAR
)
FILEINF_T AS OBJECT (
attachedfiles_name VARCHAR(255)
, attachedfiles_val BLOB
)
我使用本地外部函數調用它
SUBROUTINE message (ref long out_error, long client_absid,
string document_subject,string document_text, readonly fileinf_t
document_attachedfiles[], string client_abs) RPCFUNC ALIAS FOR "message"
結構:
global type fileinf_t from structure
string attachedfiles_name
blob attachedfiles_val
end type
在腳本:
FILEINF_T files[]
FILEINF_T file
file.attachedfiles_name = "test"
files[1] = file
....
this.message (ref ll_return, pclient_absid, pdocument_subject,
pdocument_text, files, pclient_abs)
我給錯誤「不支持參數類型在DLL中在對象ub_ib6_transaction的函數uf_ib_messagefile的第23行的nction消息「。
爲什麼?
我試圖刪除[]從RPC定義回答,但誤差。 –