http://bugs.winehq.org/show_bug.cgi?id=29956
Bug #: 29956 Summary: Unable to create an empty Jet database file. Product: Wine Version: 1.3.24 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: odbc AssignedTo: wine-bugs@winehq.org ReportedBy: birdfamily715@googlemail.com Classification: Unclassified
Created attachment 38987 --> http://bugs.winehq.org/attachment.cgi?id=38987 Test C source program to create empty Jet database.
An empty Jet database file is a useful start to many ODBC tests in Jet databases, or even for ADO and ADO.NET. This little C program used to work in an earlier version of wine. Essentially all it does is one function call into the DLL odbccp32.dll: SQLConfigDataSource I have used winetricks to install jet40 and mdac28, checked that the ODBC registry entries are set up, odbccp32.dll is native according to winecfg and the program works on windows. The attached program source code includes diagnostic code to show that the configuration string is set up correctly with embedded nulls. Build script is (for mingw on Windows): gcc -g -I/mingw/include -Wall -c createdb.c gcc -L/mingw/lib ./createdb.o -o createdb -lodbccp32