I have source code for USB communication ("USBThread class") written in Borland C++ and uses Visual Component Library("vcl.h"). Now my task is to port that to Visual C++, because we did not buy Borland C++.
But this "USBThread class" has inheritance from a base class in "vcl.h", called "TThread".
May I ask , in Visual C++, What kind of base class I can use to substitute "TThread' as new inheritance source?
The original code uses "WaitFor" and "Terminate" methods coming TThread, I do not know how to implement these two menthods with Visual C++.
Thanks!