Regression in GetModuleHandle16

Vitaliy Margolen wine-devel at
Sun Mar 6 06:10:06 CST 2005

This patch broke my wine (changes to
"winbase.h"). It fails to start. Could someone take a look at it? I'm sorry, my
brain failing me this weekend too, and I couldn't find the cause myself.

I tried running without ~/.wine - didn't help.

I'm running wine from the tree without installing it. Could this be a reason why
no one else seeing the problem?

0009:trace:module:load_dll Found loaded module L"c:\\windows\\system\\kernel32.dll" for L"kernel32.dll" at 0x404c0000, count=13
0009:trace:heap:RtlFreeHeap (0x40380000,00000002,40380f78): returning TRUE
0009:trace:module:GetModuleHandle16 (krnl386.exe)
0009:trace:module:MODULE_LoadModule16 Trying built-in 'krnl386.exe'
0009:trace:global:GLOBAL_Alloc 56 flags=0000
0009:trace:heap:RtlAllocateHeap (0x40380000,00000002,00000040): returning 40380f78
0009:trace:module:NE_InitResourceHandler InitResourceHandler[1026]
0009:trace:module:GetModuleHandle16 (KERNEL)
0009:trace:module:GetProcAddress16 0000 'DefResourceHandler'
0009:trace:loaddll:MODULE_LoadModule16 Loaded module "krnl386.exe" : builtin
0009:trace:module:GetModuleHandle16 (krnl386.exe)
0009:err:module:MODULE_LoadModule16 Serious trouble. Just loaded module 'krnl386.exe' (hinst=0x1026), but can't get module handle. Filename too long ?

Best regards,

More information about the wine-devel mailing list