Commit Graph

44 Commits

Author SHA1 Message Date
Zhiyi Zhang d1d91288ff rundll32: Activate context at ID 123 before calling library functions.
This is required to enable common control v6 for library functions called by rundll32.exe.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Esme Povirk 53ec99daeb rundll32: Only call LoadLibrary16 on x86.
These are imported by ordinal, so on other architectures we end
up calling whatever ends up on that ordinal, which is currently
Beep on x86_64.

Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-07 11:32:38 +02:00
Michael Stefaniuc 1cba8c3f97 rundll32: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-08 12:40:29 +02:00
Alexandre Julliard 092d76b911 rundll32: Add wrapper to call entry point on i386.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48018
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-21 21:54:59 +01:00
Alexandre Julliard b09e18c40d rundll32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:39:49 +02:00
Frédéric Delanoy b3d07c7846 rundll32: Use BOOL type where appropriate. 2014-02-06 17:08:12 +01:00
Alexandre Julliard 86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Alexandre Julliard da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14: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 Julliard 6fb39dfe4a programs: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:37 +02:00
Alexandre Julliard 59ef151a93 rundll32: Fix a pointer conversion warning on 64-bit. 2010-07-21 13:23:59 +02:00
Andrew Nguyen a42c072830 rundll32: Recognize entry points passed as ordinal numbers. 2010-05-04 18:29:54 +02:00
Andrew Nguyen b8b1a565e0 rundll32: Convert rundll32 to Unicode. 2010-05-04 13:14:59 +02:00
Andrew Nguyen e6bd6d1201 rundll32: Check more heap allocation failure paths for consistency. 2010-05-04 13:14:59 +02:00
Andrew Nguyen dd4221fc2c rundll32: Rename a few internal helpers for consistency. 2010-05-03 17:15:54 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Andrew Nguyen 5e72f7b2a5 rundll32: Load the 16-bit kernel32 exports by ordinal. 2009-06-04 12:12:38 +02:00
Vincent Povirk f54a8ab71b rundll32: Build with -mwindows. 2008-11-07 11:50:34 +01:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 028ab92bf7 make_progs: Generate the .gitignore file.
Ignore generated programs from the top-level .gitignore.
2006-07-10 20:59:06 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Alexandre Julliard 9ca8a86914 Link against libwine_unicode everywhere we use Unicode functions. 2006-05-24 18:05:40 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard ec34a66612 Ignore symlink files too (needed for git). 2005-11-26 13:12:57 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Stefan Huehner 06822b8977 Fix some write-strings warnings. 2005-07-15 09:58:36 +00:00
Detlef Riekenberg edc061333f Space is valid between module name and entry point. 2005-07-14 12:34:04 +00:00
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Robert Shearman cba8763c33 Remove unnecessary WNDPROC casts. 2004-12-06 11:51:29 +00:00
Alexandre Julliard 6be39b60f5 Take advantage of the new winegcc -B support. 2004-03-09 04:54:07 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Alexandre Julliard 6621b2d213 Build all the programs with winegcc. 2004-03-02 21:00:00 +00:00
Alexandre Julliard 3defd321b2 Don't link directly to 16-bit APIs for portability reasons (based on a
patch by Steven Edwards).
2004-01-21 02:20:29 +00:00
Alexandre Julliard 4175fdb7c6 Added support for loading 16-bit dlls. 2003-12-03 20:29:24 +00:00
Francois Gouget ae50013017 Fix the case of product and company names. 2003-09-08 19:38:45 +00:00
Alexandre Julliard 269511026f Fixed indentation. 2003-08-15 03:51:19 +00:00
Mike McCormack 0ab73312c8 rundll32 requires a window for some functions to work, so create one. 2003-07-22 00:59:56 +00:00
Alberto Massari 01ac8df263 Fix crash when invoked with no arguments. 2002-11-18 19:42:13 +00:00
Alexandre Julliard 9f029b7d5e Warning fixes. 2002-11-15 04:17:00 +00:00
Alberto Massari 15e8e0a2f1 Added rundll32 utility. 2002-11-15 01:41:20 +00:00