03-16-2010 06:15 PM
Does anyone know how to cancel a USB channel request?
Currently, in my desktop app, if you try to connect (USB) to a BlackBerry with a password set it challenges the user for the password. What happens if the user does not know the password or wants to cancel the request? I cannot find a way to cancel the request. It just keeps prompting for the password.
Solved! Go to Solution.
03-17-2010 10:59 AM
"In COM, a common way to return success or failure is to return an HRESULT and have an out parameter marked as "retval" in MIDL for the real return value of the method. In C# (and the .NET Framework), the standard way to indicate an error has occurred is to throw an exception."
This appears to have resolved my issue.