Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-04

Error writing to remote device (emulator)

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

GREP

Sorry if I doublepost. I had posted this in the forum.lazarus.freepascal, BUT afterward I noticed
that the last post there (WinCE widgetset) was dated 11-April, and the previous one dec-2012, so I assume it is kind of in a sleeping mode.

I am trying to run my app on the WM6.1 emulator, but I get this error: (debugger output)
~"Uploading file to device: \\Storage Card\\app.exe\n" &"error writing to remote device - 0.\n"
I use -eval-command="set remotedirectory \Storage Card" in Tools->Options->Debugger.

My app is 22.6 Mb, band runs fine when I copy manually to the sharedforlder and run directly form WM 6.1 emulator, but the debugger copies always 2.41 MB and then gets the error.
Any idea why?
I am using Lazarus 1.0.8, SVN Rev 40573.
The error came out of the blue ski.
I had just fixed some problems with building the app correctly, and did run fine a few times on the WM 6.1.
Then there it comes the error.
I even reset the emulator, re-booted the PC (XP). I ran out of ideas.... Any Help?

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Error-writing-to-remote-device-emulator-tp4031025.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email

Zaher Dirkey
to GREP

Not related to your problem, but i use external debug file, it reduce the size of exe and stay at your PC,

Be sure you can Explore files using ActiveSync

GREP wrote 39 lines
Sorry if I doublepost. I had posted this in the forum.lazarus.freepascal, BUT afterward I noticed that the last post there (WinCE widgetset) was dated 11-April, and the previous one dec-2012, so I assume it is kind of in a sleeping mode. I am trying to run my app on the WM6.1 emulator, but I get this error: (debugger output) ~"Uploading file to device: \\Storage Card\\app.exe\n" &"error writing to remote device - 0.\n" I use -eval-command="set remotedirectory \Storage Card" in Tools->Options->Debugger. My app is 22.6 Mb, band runs fine when I copy manually to the sharedforlder and run directly form WM 6.1 emulator, but the debugger copies always 2.41 MB and then gets the error. Any idea why? I am using Lazarus 1.0.8, SVN Rev 40573. The error came out of the blue ski. I had just fixed some problems with building the app correctly, and did run fine a few times on the WM 6.1. Then there it comes the error. I even reset the emulator, re-booted the PC (XP). I ran out of ideas.... Any Help? -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Error-writing-to-remote-device-emulator-tp4031025.html Sent from the Free Pascal - Lazarus mailing list . -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3 Best Regards Zaher Dirkey -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130425/42731f3e/attachment.html>

Reply by email

GREP
to Zaher Dirkey

This is a real pain in the neck.
Google-searching for "error writing to remote device" gives only the source code of the gdb.
And since the complete line is "error writing to remote device - 0", it seems
that Cegetlasterror() returns 0.
But what may cause the gdb copying to stop as soon as it has copied 2.41 MB? Is it something in the Device Manager/Emulator, or something in the Lazarus settings/option?
As I said it is a real pain

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Error-writing-to-remote-device-emulator-tp4031025p4031027.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email