NO

Author Topic: odbc stuff  (Read 2594 times)

zenonpro

  • Guest
odbc stuff
« 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 ?

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 1923
    • http://www.smorgasbordet.com
odbc stuff
« Reply #1 on: February 16, 2007, 01:10:09 pm »
This works for me:
Code: [Select]
#include <windows.h>
#include <sql.h>
#include <sqlext.h>
/Pelle