Home
Products
Drivers
Documents
Resources
Projects
Vinculum
SafeGuard-IT
FTDIChip-ID™
MPSSE
Code Examples
C++ Builder
C#
Delphi
LabVIEW
Visual Basic
Visual C++
Other Platforms
Support
Sales Network
Web Shop
Design Services
Corporate
Press
FTDI Newsletter
Contact
  Visual C++ Examples
This page contains examples of communicating with FTDI devices through the D2XX drivers and FTD2XX.DLL using Visual C++.

 

 

  Example 4
This Visual C++.NET example demonstrates how to use the CBUS Bit Bang mode of the FT232R device.  Please note that the CBUS pins must be configured in the integrated EEPROM before they can be used for CBUS Bit Bang mode.  FTDI's D2XX drivers must also be installed for the application to run.

 

To download this example, click here.

 

 

  Example 3

This variant of FTDI's D2XXAccess example for Windows CE uses C++ to list devices, return description strings, open devices, set Baud rates, read data and write data.  This example is also available in C# and VB.NET for Windows CE platforms.

 

This code requires that FTDI's D2XX drivers for Windows CE be installed.  These can be obtained through our Drivers page.

 

To download the C++ version of D2XXAccess for Windows CE, click here.

 

 

  Example 2

This example shows how to use Visual C++.NET to communicate with FTDI devices through FTD2XX.DLL.  This includes using FT_ListDevices, FT_Write and FT_Read with a loop-back connector to write data to the device and then read it back.

 

To download the example, click here.

 

 

  Example 1
Our thanks to DLP Design for contributing this application source code which illustrates how to integrate D2XX drivers into a Visual C++ project and use some of the basic functions available.

 

For more information on DLP Design products, visit the DLP Design website or our own Evaluation Kits page.

 

To download the example, click here.

 

 

 
 



 

© Future Technology Devices International Ltd. 2007