that would be great, i need this too...

actual i try to modifiy the original header "ftd2xx.h" to get it work.

I replaced:
enum with seperate "counting"-defines
PVOID witdh "void*" -> "typedef void* FT_HANDLE;"

and added:
typedef void *PVOID;
typedef char UCHAR;

now i try to change the rest - but i can not find a solution!
how can i replace this - so 3dgs can work with it?

Code:
typedef void (*PFT_EVENT_HANDLER)(DWORD,DWORD);


(i do not know what "PFT_EVENT_HANDLER" means - no search results)

and the API-functions?:
Code:
FTD2XX_API FT_STATUS WINAPI FT_Close( FT_HANDLE ftHandle );


here i do not know hot i should handle with FT_STATUS and WINAPI -> very confusion

and last but not least:
Code:
typedef struct ft_program_data {
....
} FT_PROGRAM_DATA, *PFT_PROGRAM_DATA;



i would be nice if anyone can give me a hind?

THX Kasimir

Last edited by kasimir; 12/06/09 17:42.