Hallo,
(I will write this in English, but you can answer in German. I hope you won't mind. I understand German but I'm not able to write in it.)
I have an application that is linking two
DLL (
DLL #1 and
DLL #2). Both DLLs are performing a SOCKET communication. The problem is that one
DLL #1 requires a version of WSOCK32 and the other
DLL #2 required another version of WSOCK32.
Another problem is that I have
access only to the code of
DLL #2.
That is why I was thinking to use both versions of WSOCK32 but to change the name of the version that is used by
DLL #2. E.g. WSOCK32_v2. But I'm not able to do it. In Delphi, in
unit WINSOCK.pas there is a a constant:
const
winsocket = 'wsock32.dll';
I changed it in:
const
winsocket = 'wsock32_v2.dll';
But there is no difference. The application is still linking the initial wsock32.dll. I think that there are some precompiled libraries. Do you have any idea how can I solve this problem?
Sorry again for this post written in English and I hope that I was clear enough with my explanation.
Thank you,
Paulie