Thanks, Marcus.

In detail, I can see SelectObject in Relay mode.

000d:Call gdi32.SelectObject(0000022c,00000244) ret=68951b54

The time when the handle 0x22c is created, however, is not caught in relay mode
and I don't know what function or dll create it, either.

Any idea?


Thanks,
Hayan




On Fri, Jul 9, 2010 at 2:29 PM, Marcus Meissner <marcus@jet.franken.de> wrote:
On Fri, Jul 09, 2010 at 10:34:10AM -0400, Hayan Lee wrote:
> Hi, all
>
> I'm working on relay layer in WINE.
> When I turn on WINEDEBUG=+relay, relay looks to miss some calls.
>
> When is the relay layer loaded?
> Before dll loaded or after?
>
> If WINE does something in its initialization step, relay can catch those or
> not?

The DLL loader hooks the relay code into the exported functions.

So any inter-DLL call should be visible.

There are default filters which might trigger or other things.

Exactly what calls are you missing?

Ciao, Marcus