by Kwyshell (3 Submissions)
Category: Windows CE
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)
The code here uses to detect the device connection whenever user connects or disconnets the CE device with your pc.
Assumes
You need to install microsoft ativesync 3.0 first. To monitor the device connection, you need to implement IDccManSink and IDccMan interface. But the system only provide a c style header file, vb users need to implement by themselves. Here I create a vb friendly type library for vb users.