You need to call an external DLL function, the DLL function is: HRESULT XJCA_KeyInsert (BSTR CSP [in], [out, retval] int * ok);
In my pb8.0 LOCAL EXTERNAL FUNCTION made the following definition: The FUNCTION long XJCA_KeyInsert (string CSP, ref int ok) LIBRARY "xjcaTechATL. DLL " But running, The Error calling external function XJCA_KeyInsert at line 6 in function of_check_ca_key of object n_ca_xjca_hos. The error of
Don't know whether is HRESULT corresponding wrong or BSTR corresponding wrong
Please grant instruction!
CodePudding user response:
Try: The FUNCTION long XJCA_KeyInsert (string CSP) LIBRARY "xjcaTechATL. DLL "