Mixing native and bulitin DLL (MSVCRT)

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Tue Feb 24 05:43:24 CST 2004


I am trying to debug a problem with builtin MSVCRT. Is there any easy way to
deviate calls from builtin msvcrt to native msvcrt. 

At present I have renamed native msvcrt in the wine system directory. 

Then in the builtin msvcrt I call a function and for that function I do a
LoadLibrary(<renamed native msvcrt>) and a
GetProcAddress(hinstofrenamendmsvcrt,<original function) to finally call
that procedure.

I experimented with the forwards in the spec file, but didn't succeed.

Is there any easier way?

Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the wine-devel mailing list