none
Transfer *.txt file from pocket pc to pc? RRS feed

  • Question

  • I created application on my pocket pc.

    now i want to transfer *.txt file from some folder on my pocket pc
     to my pc when i click on the button.

    for example the file should transfer from pocket pc (\\program files\Program\example.txt) to my pc (C:\TXT\example.txt)

    can anyone help please...

    Monday, November 17, 2008 12:03 PM

Answers

All replies

  • I was trying this:

    using (RAPI rapi = new RAPI())
             {
               
                rapi.Connect(true);

                rapi.CopyFileFromDevice(@"C:\test.txt", @"\\test.txt");

                rapi.Disconnect();

             }

    But errors accured:

    Can't find PInvoke DLL 'rapi.dll'.


    Monday, November 17, 2008 2:40 PM
  •   Hi ,

    would you give us more info about the project? Or how you reference the rapi.dll?
    This may occur if you are out of virtual memory and the DLL cannot be loaded.

    Thanks
    Thursday, November 20, 2008 8:44 AM
  • already solved the problem with windows service.

    Thanks anyway
    Thursday, November 20, 2008 9:58 AM