Wireless Communication Library Support Forum
Frameworks => Bluetooth Framework => Topic started by: Raj on November 04, 2008, 07:34:59 AM
-
Hi Mike,
During paring through Microsoft Bluetooth driver, I am getting this error.
Please suggest me something.
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
-
it may appears because invalid PIN. Use Try/catch to catch the exceptions and check it.
-
Hi Mike,
I am calling wclFTPClient.dir() from the wclFTP_DirCompletedEvent()
but the wclOBEXDirCompleteEventArgs is not changing. Please suggest me something.
wclOBEXDirCompleteEventArg returns the same file listing every time. What may be the problem ?
-
It works completly correct. You are in directory and call Dir method to list files in this directory. After listing done (inside event handler) you call Dir again and get the listing in the same directory again. So it will never change.
-
Inside event handler I am doing.
1> Set the path.
2> Set a flag.
In the operationcompleted event calling dir again.
according to the flag doing something and as I have set the path previously now dircompleted event handler should return the new list of files and folders.
-
Yes, if setpath operation completes with WCL_ERROR_SUCCESS then dir will return new list, otherwise the path is not changed.
-
thanks for your support, I have resolved the problem.
I am not setting the path correctly :(
-
You are welcome!
-
Hi Mike,
Why the file count is returned 0 sometimes for an connected device.
However when I restart the application then the file count > 0
Can you suggest me the possible error.
So that I can resolve.
-
May be your application changes current directory and the new one is empty?
-
No my application does not changes any directory. I am making the array list of current file path, and the array list is showing me the correct path.
-
Show your code which works with directories.