mmsystem.dll should be automatically loaded for 16-bit apps.

This commit is contained in:
Joshua Thielen 2001-11-25 00:49:10 +00:00 committed by Alexandre Julliard
parent df90b00e12
commit 3f089a1962
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ int WINAPI wine_initial_task( HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, INT
HINSTANCE16 instance;
HMODULE user32;
/* some programs assume mmsystem is always present */
LoadLibrary16( "mmsystem.dll" );
if ((instance = NE_StartMain( main_exe_name, main_exe_file )) < 32)
{
if (instance == 11) /* try DOS format */