I am using BCB6. I need to use the WIN32 API function DeviceIOControl() in order to communicate with a USB driver. I have included windows.h, winioctl.h, winbase.h(where it is declared), and dbt.h.
Here is my problem: When I build my project it get the following error.
[C++ Error] MyForm.cpp(48): E2268 Call to undefined function 'DeviceIOControl'
Any comments are much appreciated. Thank you.
Here is my problem: When I build my project it get the following error.
[C++ Error] MyForm.cpp(48): E2268 Call to undefined function 'DeviceIOControl'
Any comments are much appreciated. Thank you.