Mercury
Member level 3
d2xx driver
Hi,
I am trying to implement the FTDI D2XX drivers in my visual c++ application. I have just downloaded the latest version from the FTDI site. I have created a Win32 console application and when I include the header file ftd2xx.h I get compile errors:
ftd2xx.h(49) : error C2146: syntax error : missing ';' before identifier 'FT_HANDLE'
ftd2xx.h(49) : fatal error C1004: unexpected end of file found
However, if I create a dialog based MFC Wizard applcation and include the header file I get no errors.
So how do I make the header file work in the Win32 console project?
Best Regards
George Mercury
Hi,
I am trying to implement the FTDI D2XX drivers in my visual c++ application. I have just downloaded the latest version from the FTDI site. I have created a Win32 console application and when I include the header file ftd2xx.h I get compile errors:
ftd2xx.h(49) : error C2146: syntax error : missing ';' before identifier 'FT_HANDLE'
ftd2xx.h(49) : fatal error C1004: unexpected end of file found
However, if I create a dialog based MFC Wizard applcation and include the header file I get no errors.
So how do I make the header file work in the Win32 console project?
Best Regards
George Mercury