Problems using rapi to send files to desktop

Discussion in 'Questions (Windows Mobile)' started by sunnyboyj, Jan 5, 2008.

  1. sunnyboyj

    sunnyboyj Member

    I am using Rapi to send a file from my device to my desktop.
    I added Rapidesktop and openNETCFdekstop dll's.
    Om my device I get a errormessage:
    Can not find PInvoke-DLL rapi.dll
    What am I doing wrong?
    Jorrit.
     
  2. sunnyboyj

    sunnyboyj Member

    Forgot to say: the program line is:
    If rapi.DeviceFileExists("LGXVRDMU.csv") = true Then
    rapi.copyfilefromdevice1("LGXVRDMU.csv","C:\downloads\")

    End If
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    RAPI library is a desktop library you can't use it on the device.
     
  4. sunnyboyj

    sunnyboyj Member

    Ok, but how do I send the file from the device to my computer. Do I make a program in basic4ppc for my desktop and start up the file from the desktop?
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    Yes, you can create a desktop application that copies the file from the device to the desktop.
     
Loading...