Delphi driver for communication with CY68013

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello together

   

I developed a board with CY68013 hardware. I tried a small usb example (CyAPI, CyUSB-Driver) with c++ and it works very fine but now I would like to used Borland Delphi for a Win32 application.

   

Does anybody of you know a programming example using the CyUsb-Driver also in Delphi?

   

Thank you for your help an best regards

   

Gerhard

0 Likes
7 Replies
Anonymous
Not applicable

 Hi,

   

 

   

Unfortunately we do not have any Delphi based examples.

0 Likes
Anonymous
Not applicable

Hello Maka

   

Ok, thank you for your information. Maybe a user has already implemented an interface.

   

Friendly regards

   

Gerhard

0 Likes
Anonymous
Not applicable

Have you had any luck finding a Delphi interface?  Would prefer not to write my own...

0 Likes
Anonymous
Not applicable

What I did was to create a c++ wrapper DLL with all the functions I needed and simply loaded that library into my Delphi project.

   

My dll has only send/read data, and connect disconnect events (maybe a few more support function).

0 Likes
Anonymous
Not applicable

Is there any update regarding the delphi example?

   

I have encouter rthe same problem.

0 Likes
Anonymous
Not applicable

That's easy. Use Win32API Hook to see what the c lib calls. Then call the api in Delphi. 

   

There are only two function need to be hooked.

   

CreateFile

   

DeviceIoControl

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

The Internet was found one example on Delphi (but not CyUSB-Driver), it can be useful.

   

Work community makes things universal!

0 Likes