"Sylvain" == Sylvain Petreolle <spetreolle(a)yahoo.fr> writes:
Sylvain> Im curious to see what adress GetProcAdress gets when asked for Sylvain> a stub. Wine happily returns a valid function adress, also obvious the same at least for different stubbed functions in the same dll. I searched for a way to return perhaps some flag in LdrGetProcedureAddress for that case, but I was not able to find something. I didn't find a way how LdrGetProcedureAddress could get that address and compare with the function address calculated for the requested function. Perhaps Eric or some other guru can... I propose that GetProcAddress evaluates that flag and should return 0 for stubs. Bye -- Uwe Bonnes bon(a)elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------