Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. RAPI2

RAPI2

Scheduled Pinned Locked Moved Mobile
helpsharepointhardwarequestionworkspace
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JudyL_MD
    wrote on last edited by
    #1

    Hi all, I've got a program running on a PC with XP SP3 and ActiveSync 4.5 -- it gathers various information about Smart Phones that are attached to the PC. It is written using RAPI2. At startup, it checks to see if any devices are attached and adds those devices to its list of "devices to process" (using IRAPIDevice / IRAPIEnumDevices / IRAPISession / IRAPIDesktop) and registers an IRAPISink to receive notifications of devices attached after it has started. Hardware setup -- the SPs are connected to the PC via a USB-to-fiber-to-USB connection to the front USB port on the PC. However, it doesn't make a difference to the issue whether the SP is connected through the fiber convertor or directly to the front USB port. Now the issue: CE5 and CE6-based SPs work correctly all the time -- if they are attached prior to program startup AND if they are attached after program startup. CE4.2-based SPs only work correctly if they are attached prior to program startup. When a 4.2 SP is attached after startup, the OnDeviceConnect member of my IRAPISink-derived class is never called. I know the docs says RAPI2 is for CE5 and up but I'm not running the program on the SP; it runs on the PC and all the other RAPI2 interfaces work for communication with the 4.2 SP. ActiveSync correctly detects the arrival of the 4.2 SP. Any ideas? I used RAPI2 because of the ease of device insertion detection. I know I can always have my program periodically poll and check for new devices, but that isn't a very elegant solution. I'd rather fix the problem :-) Thanks!! Judy

    Be wary of strong drink. It can make you shoot at tax collectors - and miss. Lazarus Long, "Time Enough For Love" by Robert A. Heinlein

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups