C language > Expert questions

odbc stuff

(1/1)

zenonpro:
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 ?

Pelle:
This works for me:

--- Code: ---#include <windows.h>
#include <sql.h>
#include <sqlext.h>
--- End code ---

Navigation

[0] Message Index

Go to full version