Pelles C forum

C language => Expert questions => Topic started by: zenonpro on February 14, 2007, 09:44:52 PM

Title: odbc stuff
Post by: zenonpro on February 14, 2007, 09:44:52 PM
Little question... when I use sql.h and sqlext.h in my files (for using ODBC) I get the following errors
C:\Program Files\PellesC\Include\Win\sqltypes.h(56): error #2067: Illegal use of 'unsigned'.
C:\Program Files\PellesC\Include\Win\sqltypes.h(56): error #2014: Empty declaration.
So Does anybody know what header file i need to include or definition to make to solve this ?
Title: odbc stuff
Post by: Pelle on February 16, 2007, 01:10:09 PM
This works for me:
Code: [Select]
#include <windows.h>
#include <sql.h>
#include <sqlext.h>