FTDI Community

General Category => Discussion - Software => Topic started by: atom1477 on November 27, 2018, 02:49:52 PM

Title: FT60X VS C# Example not compiling and not working.
Post by: atom1477 on November 27, 2018, 02:49:52 PM
Hello.
I have trouble witch Yours example codes for FT601Q.
Original exe file works fine.
But when I tryed to compile project I have errors (I tried this in Visual Studio 2017 and Visual Studio 2013, on Windows 10 64-bits).
First problem is that:
(https://obrazki.elektroda.pl/8049126000_1543328768_thumb.jpg) (https://obrazki.elektroda.pl/8049126000_1543328768.gif)
I fixed this by adding reference to FTD3XX_NET.dll file, and by copying FTD3XX_NET.dll and FTD3XX.dll file files to bin/x86/Debug folder.
Then application will compile without errors and starts correctly.
But I have second error, when i connect FT601Q USB Device (Hot Plug):
(https://obrazki.elektroda.pl/2447836000_1543329497_thumb.jpg) (https://obrazki.elektroda.pl/2447836000_1543329497.gif)
The same problem occurs when I Hot-unplug USB device (start application with USB Device already connected, and then disconnect USB Device from USB socket).
In application started outside the Visual Studio trouble still occurs, but of course it doesn't provide any message text output, but simply terminate.
Why?
As I said, Yours original exe file works fine. How You compile this source codes? The same source compliled in my computer works differently.
Title: Re: FT60X VS C# Example not compiling and not working.
Post by: FTDI Community on November 28, 2018, 01:26:47 PM
Hello,

Can you please email support on support1@ftdichip.com and include a screenshot of your FT60x “Chip Configurator Programmer” settings.

Regards,
FTDI Community
Title: Re: FT60X VS C# Example not compiling and not working.
Post by: atom1477 on November 28, 2018, 02:41:10 PM
I can include this here:
(https://obrazki.elektroda.pl/7895981800_1543416425_thumb.jpg) (https://obrazki.elektroda.pl/7895981800_1543416425.gif)
But if You prefer contact on email it is fine.
How FT601Q settings can affects behaviour, if original (not-recompiled) exe works fine with the same FT601Q settings?