Commit Graph

40 Commits

Author SHA1 Message Date
Eric Pouech c0b6ae58af odbccp32/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-02 20:17:15 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Francois Gouget 8867a0f33f odbccp32/tests: Fix the spelling of a comment.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-02 20:41:46 +01:00
Alistair Leslie-Hughes ea3096bdab odbccp32: Implement SQLWriteDSNToIni/W.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50150
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-18 22:39:34 +01:00
Alistair Leslie-Hughes 8f0057699e odbccp32: Implement SQLConfigDataSource/W.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-06 10:44:43 +01:00
Gijs Vermeulen 3915b8d229 odbccp32: Handle NULL sizeout in SQLGetInstalledDrivers.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48111
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 19:12:14 +01:00
Alistair Leslie-Hughes 8df456ccd4 odbccp32: Correct error when driver cannot be found.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-27 11:40:19 +02:00
Alistair Leslie-Hughes 990f08dc73 odbccp32: Implement SQLValidDSN/W.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-21 23:02:30 +02:00
Alistair Leslie-Hughes 410610b553 odbccp32: Handle NULL parameter in SQLWritePrivateProfileStringW.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 10:52:32 +02:00
Zebediah Figura 3e90c9be3e odbccp32/tests: Set requestedExecutionLevel to asInvoker to prevent virtualization.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:14:30 +02:00
Zebediah Figura 560010571a odbccp32/tests: Skip SQLGetInstalledDrivers() test if limited.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:13:48 +02:00
Zebediah Figura 3478a81a4c odbccp32/tests: Add tests for SQLGetInstalledDrivers().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 21:58:02 +02:00
Francois Gouget 522385f619 odbccp32/tests: Make test_SQLInstallTranslatorEx() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 13:09:34 +02:00
Alistair Leslie-Hughes c92189c600 odbccp32: Handle ODBC_CONFIG_DRIVER request in SQLConfigDriver/W.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-27 11:04:39 +02:00
Alistair Leslie-Hughes e7afcb9850 odbccp32: Implement SQLRemoveTranslator/W.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-06 19:00:09 +02:00
Alistair Leslie-Hughes d687fc8f34 odbccp32: Implement SQLInstallTranslator.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:17:27 +02:00
Francois Gouget ec3d34a5a6 odbccp32/tests: Make test_SQLInstallDriverEx() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 12:07:56 +02:00
Hans Leidekker 49b644d7a2 odbccp32/tests: RegGetValueA is not available on Windows XP.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 15:32:15 +01:00
Alistair Leslie-Hughes 3136beda26 odbccp32: Implement SQLRemoveDriver/SQLRemoveDriverW.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:37 +01:00
Alistair Leslie-Hughes 27482bce73 odbccp32: Implement SQLInstallDriverEx.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-15 20:06:49 +01:00
Alistair Leslie-Hughes cd50e1518f odbccp32/test: Correct tests without privileges.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-18 23:15:39 +09:00
Alistair Leslie-Hughes 94667def7b odbccp32: Implement SQLGetPrivateProfileStringW/SQLGetPrivateProfileString.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 22:08:36 +09:00
Alistair Leslie-Hughes 67acce4aa6 odbccp32: Implement SQLWritePrivateProfileStringA/W. 2015-03-27 22:26:57 +09:00
Nikolay Sivov 44677f2f78 odbccp32/tests: Remove test of always true conditions (PVS-Studio). 2014-08-18 12:45:31 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Goujon b234bb49ff odbccp32: Fix SQLInstallDriverManager{,W}. 2010-09-13 14:47:35 -05:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Juan Lang 401b1b36cc odbccp32: Fix a couple failing tests, and log more information about remaining failures. 2009-02-16 11:48:19 +01:00
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Francois Gouget 96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
Francois Gouget 5a8fc34033 Assorted spelling fixes. 2007-04-30 12:35:11 +02:00
Paul Vriens 60ff8d17dd odbccp32: Don't print *pcbPathOut as it can be NULL (Coverity). 2007-04-04 16:16:59 +02:00
Francois Gouget ec6463470d odbccp32/tests: Add missing '\n' to an ok() call. 2007-01-18 11:59:58 +01:00
Bill Medland c4a7c821f1 odbccp32: Implement SQLGet/SetConfigMode. 2007-01-15 12:22:44 +01:00
Bill Medland 8d82a8c9b3 odbccp32: Implement SQLInstallerError(W). 2007-01-11 12:21:47 +01:00
Bill Medland cf6e0d8270 odbccp32: Add tests structure. 2007-01-10 11:59:47 +01:00