- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We currently have a VC# application using CyUSB.DLL to communicate with our PSoC5 based product. It is configured as a Generic HID device. I notice that the date on the DLL is very old. Is this what we should be using?
We are having some issues:
1. Something seems to have a memory leak as the App crashes after about 48hrs of communication with our device (happens on multiple PCs). Programmer is looking into it.
2. If the PC goes to sleep the App usually crashes when it wakes back up. Programmer gave up looking for a fix for this!
Thanks,
Mike.
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CyUSB.dll is obsolete and we recommend you to use Windows HID libraries for your application.
Your application maybe crashing because of some issues we have seen in the past of running Visual Studio and PSoC Creator simultaneously. We are working on a fix though we cannot guarantee on any timeline.
We recommend you to use one IDE at a time for now.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CyUSB.dll is obsolete and we recommend you to use Windows HID libraries for your application.
Your application maybe crashing because of some issues we have seen in the past of running Visual Studio and PSoC Creator simultaneously. We are working on a fix though we cannot guarantee on any timeline.
We recommend you to use one IDE at a time for now.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, I will check with the software developer to see if he can figure out how to use the Windows HID libraries.
We are not running Creator and the SW application at the same time so that is not our issue.
Mike.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just as a note, it looks like you're talking about the Windows HID Library as part of the UWP (Windows.Devices.HumanInterfaceDevice Namespace - UWP app developer | Microsoft Docs )?
Unfortunately UWP does not support Windows 7 or earlier, only 8 onwards.
If you're like me and still need to support legacy OS like XP/Vista/7, I've used HIDSharp which works in .NET framework versions as early as .NET 2.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for the tip!!!