Sorry, The P_LOCAL_DB_CONNECTION was defined in an API that I was using. Is there a URL that explains in detail how to create a patch? I saw the wine site that gives a very brief description. Shane Francois Gouget wrote: > > On Mon, 8 Jan 2001, Shane Nifong wrote: > > > Hey, > > I am trying to compile some windows code using winelib. There are > > several undeclared sysmbol errors I am getting. The errors complain > > about the following: > > > > P_LOCAL_DB_CONNECTION > > ODBC_ADD_SYS_DSN > > > > In windows the includes were sql.h, sqlext.h, and sqltypes.h. These > > files are in the wine/include directory but I do not the the #defines > > that I am looking for. Where are these defined? > > They are not defined in Wine. That's because Wine's headers are > incomplete. Basically we add things more or less by block when they're > needed. So probably the above have not been needed yet (either by Wine > itself, for the odbc dll, or by a Winelib user). > > ODBC_ADD_SYS_DSN should be defined in 'odbcinst.h'. So the best is > for you to add it and then send a patch to wine-patches. > But I did not see P_LOCAL_DB_CONNECTION in the MSDN documentation or > in the MS headers. Are you sure it is part of the MS headers? > > -- > Francois Gouget [EMAIL PROTECTED] http://fgouget.free.fr/ > In theory, theory and practice are the same, but in practice they're different.