troubleshooting Question

Powerbuillder runtime error r0021 while referencing a global external variable

Avatar of Nikhil Dhuri
Nikhil Dhuri asked on
.NET Programming
2 Comments1 Solution120 ViewsLast Modified:
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
Deepak Vasudevan
Global Traveller

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros