|
From: | Nick Clifton |
Subject: | Re: DLL replacement problem |
Date: | Tue, 25 May 2004 09:23:08 +0100 |
User-agent: | Mozilla Thunderbird 0.6 (X11/20040502) |
Hi Nico,
Thanks for your reply. I already tried all the options, but without any luck. It appears it needs a trick which I couldn't find in any manual: .def file from original DLL: EXPORTS address@hidden =_AFunction @1 address@hidden =_AnotherFunc @2 .def file used to link new DLL: EXPORTS address@hidden =_AFunction @1 AFunction = address@hidden address@hidden =_AnotherFunc @2 AnotherFunc = address@hidden This forces the order and index of the functions inside the DLL to match the original DLL.
Sorry - I am not very familiar with DLLs and .def files so you will have to excuse my ignorance. What is the "trick" that you refer to ? Are you unable to create the .def file to link the new DLL as you show above ?
Cheers Nick
[Prev in Thread] | Current Thread | [Next in Thread] |