Link to home
Start Free TrialLog in
Avatar of Nikhil Dhuri
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_message="Hello World"

ll_result=SMSTEST(ls_number, ls_message)


I am getting the following error runtime
Error calling external function SMSTEST
Avatar of Deepak Vasudevan
Deepak Vasudevan
Flag of India image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

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.

Experts-Exchange Cleanup Volunteer