Nikhil Dhuri
asked on
Powerbuillder runtime error r0021 while referencing a global external variable
I have declare a global exernal variable as
Function long SMSTEST (string numbers,string Messages) library "ClassLibrary1.dll" ALIAS FOR "SMSTEST"
and i have called the function on a button's clicked event as below
string ls_number,ls_message
long ll_result
ls_number="9969163151"
ls_message="Hello World"
ll_result=SMSTEST(ls_numbe r, ls_message)
messagebox("info","Done")
I am getting the following error runtime
Error calling external function SMSTEST
Function long SMSTEST (string numbers,string Messages) library "ClassLibrary1.dll" ALIAS FOR "SMSTEST"
and i have called the function on a button's clicked event as below
string ls_number,ls_message
long ll_result
ls_number="9969163151"
ls_message="Hello World"
ll_result=SMSTEST(ls_numbe
messagebox("info","Done")
I am getting the following error runtime
Error calling external function SMSTEST
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I have recommended this question be closed as follows:
Accept: Deepak Vasudevan (https:#a42816917)
If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
MacroShadow
Experts-Exchange Cleanup Volunteer