"Christian" == Christian Iversen <chrivers(a)iversen-net.dk> writes:
Christian> (Please CC me, I'm not on the list) Christian> According to: Christian> http://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/Execut... Christian> The parameter order for LdrGetProcedureAddress is (Handle, Christian> Function, Ordinal, Address) Christian> The file dlls/ntdll/module.c has the order as (Handle, Christian> Ordinal, Function, Address) Christian> This of course works well because kernel32.dll is the only Christian> caller (and it indeed uses, if not the correct, then at least Christian> the same order). Christian> I haven't attached a patch, because I'm not actually sure Christian> which version is right. Anyone? Write a test for our test suite and run the test on wine and a windows machine. Send at least the test. Bye -- Uwe Bonnes bon(a)elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------