[Bug 29956] New: Unable to create an empty Jet database file.

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Feb 20 09:01:37 CST 2012


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 at winehq.org
        ReportedBy: birdfamily715 at 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

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list