Commit Graph

41 Commits

Author SHA1 Message Date
Vincent Povirk e90cca8e7a regsvr32: Re-exec as 32-bit or 64-bit if necessary.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47075
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-21 20:43:51 +02:00
Alexandre Julliard ed6a5e97e0 programs: Make all program entrypoints cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 17:05:47 +02:00
Alexandre Julliard 4c5dd0e513 regsvr32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:56:00 +02:00
Michael Stefaniuc 33f4548ae6 regsvr32: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:03 +02:00
Alexandre Julliard a31e62a267 regsvr32: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:22:01 +01:00
Nikolay Sivov 6de871c01b regsvr32: Simplify conditional expression (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:23 +09:00
Hugh McMaster e19a8fd706 regsvr32: Return the most recent error code, even if later DLLs succeed. 2015-09-09 19:47:33 +09:00
Hugh McMaster 07cc9a34a8 regsvr32: Process the next file in the array if an error occurs.
The Windows version stops processing the current file and moves to the
next file on the first error.
2015-09-07 20:42:04 +09:00
Hugh McMaster 48c7a3f4d7 regsvr32: Call InstallDll before UnregisterDll when using /u /i. 2015-09-07 20:42:01 +09:00
Hugh McMaster 80c3fca056 regsvr32: Do not attempt to register '/' or '-'. 2015-09-03 21:11:06 +09:00
Hugh McMaster 76162a4ea8 regsvr32: Use correct exit code when DllRegisterServer, DllUnregisterServer and DllInstall fail. 2015-09-03 19:02:21 +09:00
Hugh McMaster 99ecebe90d regsvr32: Use INVALID_ARG define instead of magic 1. 2015-09-02 22:45:51 +09:00
Hugh McMaster 4a4baf2566 regsvr32: Use correct exit code when LoadLibraryEx fails. 2015-09-02 22:45:49 +09:00
Hugh McMaster 68a5642d5c regsvr32: Use correct exit code when GetProcAddress fails. 2015-09-02 22:45:45 +09:00
Hugh McMaster b09e98da78 regsvr32: /n and /u /n should be handled as invalid flags. 2015-09-02 16:41:11 +09:00
Hugh McMaster d3b55e99e9 regsvr32: Process flags before files. 2015-08-31 20:13:26 +09:00
Hugh McMaster db4a8bf0ec regsvr32: Clean up and update comments to reflect changes to the codebase. 2015-06-26 20:44:28 +09:00
Hugh McMaster 3f01461ddc regsvr32: Make Dll* exports WINAPI. 2015-06-24 19:07:12 +09:00
Hugh McMaster 485b8dfcf2 regsvr32: Add WriteFile fallback if WriteConsole fails. 2015-06-24 19:06:34 +09:00
Hugh McMaster fdae80d45f regsvr32: Convert codebase to Unicode. 2015-06-24 19:06:32 +09:00
Hugh McMaster dc1b177a1a regsvr32: Convert if-else block to switch statement. 2015-06-16 20:03:56 +09:00
Hugh McMaster 00c13a20a6 regsvr32: Move /i command line code to a separate function. 2015-06-16 20:03:39 +09:00
Hugh McMaster 3858ea03a3 regsvr32: Move silent check to the output_write function. 2014-03-26 19:20:31 +01:00
Hugh McMaster 412a4f13f6 regsvr32: Replace printf calls with WriteConsole function. 2014-03-26 19:20:30 +01:00
Frédéric Delanoy 5fd54997ba regsvr32: Use BOOL type where appropriate. 2013-11-05 11:16:05 +01:00
Andrew Nguyen 6fc4954457 regsvr32: Continue processing DLL list if an export is not found for a DLL. 2010-05-03 17:19:39 +02:00
Alexandre Julliard b66685cdd8 programs: Build the programs that support it with -DWINE_NO_UNICODE_MACROS. 2008-09-03 14:21:41 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack 13dccd7541 regsvr32: Ignore the /c flag. 2006-04-17 12:38:26 +02:00
Dmitry Timoshkov 2c59936fee regsvr32: Call OleInitialize before registering a DLL. 2006-02-09 17:48:12 +01:00
Mike McCormack 002e143981 programs: Use WIN32_LEAN_AND_MEAN. 2006-01-18 14:23:11 +01:00
Uwe Bonnes 6906cbc1bf regsvr32 understands '-' and '/' for arguments. 2006-01-16 21:30:38 +01:00
Andreas Mohr 828fd75a96 Improve regsvr32 output. 2005-07-30 19:04:14 +00:00
Mike McCormack d73dad6630 Fixes for -Wmissing-declarations and -Wwrite-strings warnings. 2005-06-04 10:01:25 +00:00
Mike McCormack 0a96e52ca2 When registering a dll, search the dll's directory for dll
dependencies too.
2003-10-07 22:49:44 +00:00
Francois Gouget 14a5d168e9 Fixed some common spelling errors. 2003-07-02 04:37:26 +00:00
Patrik Stridvall 1ee88a2bfb Removed trailing white space. 2002-08-28 23:43:43 +00:00
Bill Medland 08b7a87e63 Allow regsvr32 to process multiple filenames (as does the Windows
version).
2002-07-20 18:54:03 +00:00
Gregg Mattinson 53989ddd89 Replaced stricmp/strnicmp with strcasecmp/strncasecmp. 2002-06-13 19:11:53 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Andriy Palamarchuk 2f0d85c202 Implemented regsvr32 tool. Based on ReactOS implementation. 2002-04-29 23:47:39 +00:00