> -----Oprindelig meddelelse----- > Fra: Dmitry Timoshkov [mailto:[EMAIL PROTECTED] > Sendt: 6. december 2003 14:00 > Til: Casper Hornstrup > Cc: [EMAIL PROTECTED] > Emne: Re: LockResource16 in ole32.dll > > > "Casper Hornstrup" <[EMAIL PROTECTED]> wrote: > > > I would like to have the call to the Win16 API > LockResource16 removed > > from ole32.dll. I guess there is a reason for it being > LockResource16 > > and not LockResource. What is the reason? > > Because LoadAcceleratorsA/W returns a value allocated by > GlobalAlloc16. > > > How can the call be removed? > > Only if you or someone else can prove that under real windows > LoadAcceleratorsA/W behaves differently (taking into account > Win9x weirdness).
Windows XP ole32.dll does not import LockResource16 (nor LockResource for that matter). Windows XP user32.dll does not import GlobalAlloc16, but it imports GlobalAlloc. I currently do not have access to a Win9X installation to check that. Casper