AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Netzwerke Delphi WSOCK32.dll name austauchen
Thema durchsuchen
Ansicht
Themen-Optionen

WSOCK32.dll name austauchen

Ein Thema von TheRealPaulie · begonnen am 2. Nov 2008 · letzter Beitrag vom 3. Nov 2008
Antwort Antwort
TheRealPaulie

Registriert seit: 2. Nov 2008
1 Beiträge
 
#1

WSOCK32.dll name austauchen

  Alt 2. Nov 2008, 22:52
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
  Mit Zitat antworten Zitat
Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.171 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: WSOCK32.dll name austauchen

  Alt 3. Nov 2008, 06:27
Zitat von TheRealPaulie:
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';
Delphi will ignore this new Pas-File and uses the "old" DCU-File. Try to copy WinSock.pas to your Sourcecode-directory and diable Runtime packages and see what happens.
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:08 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz