Connection lost while transfering great file

Apr 22, 2013 at 2:39 PM
Edited Apr 22, 2013 at 2:41 PM
Hello,

I am using RAPI2 in an [STAThread] - Program and everything will work fine until i will transfer a great file to the mobile device.
After transfering 4.2 MB of 8.2 MB the connection will be lost and the device is disconncted.
(OS Win7 and WindowsCE 5.0)
What's going wrong?

I have an own class for my communication to the mobile device.
Apr 22, 2013 at 10:05 PM
There has to be something with the length of the file being greater than a DWORD can hold. I'll look into the code to see if there is a problem with the implementation around file size.
Apr 22, 2013 at 11:06 PM
Edited Apr 22, 2013 at 11:07 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion. I have posted some code I would like you to test there.