Am Samstag, 4. Februar 2006 03:21 schrieb Dmitry Timoshkov:
On Sat, 2006-02-04 at 02:26 +0300, Phil Krylov wrote:
Could this be done another way? E.g., symlink msftedit.dll.so to riched20.dll.so? Or copy riched20.dll.so as msftedit.dll.so, which would resemble MS approach more.
I'd suggest #3: forward msftedit entry points to the riched20 ones.
Ok,
forwarding the functions is clear to me, but how do i deal with the IIDs ? I got two of them resolved by adding riched20 to the IMPORTS of the Makefile and uuid to EXTRALIBS.
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./msftedit.spec -o msftedit.dll.so -L../../dlls -L../../dlls/kernel32 -L../../dlls/riched20 -lkernel32 -lriched20 -L../../libs/wine -lwine -luuid -L../../libs/port -lwine_port msftedit.dll-FZrkTh.spec.o(.data+0x3f0): In function `__wine_spec_nt_header': : undefined reference to `IID_ITextHost' msftedit.dll-FZrkTh.spec.o(.data+0x3f4): In function `__wine_spec_nt_header': : undefined reference to `IID_ITextHost2' msftedit.dll-FZrkTh.spec.o(.data+0x3f8): In function `__wine_spec_nt_header': : undefined reference to `IID_ITextServices' collect2: ld returned 1 exit status winegcc: gcc failed. make[2]: *** [msftedit.dll.so] Fehler 2
-- Thanks for help Stefan