]> git.saurik.com Git - wxWidgets.git/blob - src/iodbc/dlproc.h
Added OLE automation sample, changed BC++ makefiles
[wxWidgets.git] / src / iodbc / dlproc.h
1 #ifndef _DLPROC_H
2 # define _DLPROC_H
3
4 # include <../iodbc/dlf.h>
5
6 typedef RETCODE (FAR* HPROC)();
7
8 # ifdef DLDAPI_SVR4_DLFCN
9 # include <dlfcn.h>
10 typedef void* HDLL;
11 # endif
12
13 # ifdef DLDAPI_HP_SHL
14 # include <dl.h>
15 typedef shl_t HDLL;
16 # endif
17
18 # ifdef DLDAPI_AIX_LOAD
19 typedef void* HDLL;
20 # endif
21
22 extern HPROC _iodbcdm_getproc();
23 extern HDLL _iodbcdm_dllopen(char FAR* dll);
24 extern HPROC _iodbcdm_dllproc(HDLL hdll, char FAR* sym);
25 extern char FAR* _iodbcdm_dllerror();
26 extern int _iodbcdm_dllclose(HDLL hdll);
27
28 #define SQL_NULL_HDLL ((HDLL)NULL)
29 #define SQL_NULL_HPROC ((HPROC)NULL)
30
31 #endif