Every time is in with parameter uf_getinfo it wrong, with no arguments uf_gethandle no problem
Please help to solve it, what was wrong with my code, which choice there is no right or compile time needs to be done?
The following for example:
OLEobject oleTest
OleTest=create OLEobject
String ls_cs='1'
If oleTest. Connecttonewobject (' PB90. U_test) & lt; 0 then
Messagebox (' prompt ', 'initialization error')
Return
End the if
OleTest. Uf_gethandle ()
OleTest. Uf_getinfo (ls_cs)
Destroy oleTest
CodePudding user response:
Com code in how to writeCodePudding user response:
Created u_test user objectUf_gethandle (in) writing 1
Profilestring (' test. Ini ', 'test', 'num1', '1')//it is in a running proves that the right
Uf_getinfo (string as_cs) wrote in a
Profilestring (' test. Ini ', 'test', 'num2', '2')//that a failed to perform, has been the main program error
CodePudding user response:
I remember uf_getinfo (ls_cs) in com can only transfer value, don't know whether you claim ref?CodePudding user response:
No claim refI wonder if you have any case, can I have a hair, my email is [email protected], urgent need, thank you!