On Mon, 24 Dec 2001, Alexandre Julliard wrote: > hard, but I doubt you'll get gcc to generate exactly the above code; > and writing LdrAccessResource in assembly is not really an option. Yes, but can't we write a trivial wrapper in assembly that simply calls an internal function (written in C) which does the actual work? -- Dimi.