Unter Windows unterstützte C-Bibliotheken
Jede API-Konfiguration erzeugt Bibliotheksdateien mit einem gemeinsamen Basisnamen (g1client), jedoch mit einem eindeutigen Suffix und gegebenenfalls Präfix (im Fall von statischen Bibliotheken „lib“). Die Bibliothekssuffixe geben Folgendes an:
<lib>g1client<S><U><D>.<lib|dll>
- lib: Gibt eine statische Bibliothek an.
- dll: Gibt eine dynamische (freigegebene) Bibliothek an.
- S: Verweist auf einen Single-Thread-Build. Wenn „S“ nicht vorhanden ist, handelt es sich um eine Multi-Thread-Version.
- U: Verweist auf einen Build der UNICODE-Version. Wenn „U“ nicht vorhanden ist, handelt es sich um ein ASCII-Build.
- D: Verweist auf einen Debug-Build. Wenn dieses Suffix nicht vorhanden ist, wird ein optimierter Release-Build angegeben.
Um die UNICODE-Version zu aktivieren, muss die Makrodefinition „LIB_UNICODE“ in Ihrem Projekt vorhanden sein.
Um die UNICODE-Version der statischen C/C++-API-Bibliothek zu verwenden, müssen Sie in Ihrem Projekt „U_STATIC_IMPLEMENTATION“ definieren.
Um die dynamische Version zu verwenden, müssen Sie in Ihrem Projekt „G1CLIENT_DLL“ definieren.
Wir stellen darüber hinaus im Verzeichnis der Header-Dateien eine Datei namens „auto_link.h“ zur Verfügung, die entsprechend den Projekteinstellungen automatisch eine Verlinkung zu allen zugehörigen Bibliotheken erstellt.
Um 64-Bit-Bibliotheken unter Windows aufzurufen, müssen Sie „VER_64“ in Ihrem Projekt definieren.
Statische Bibliothek
ASCII |
Unicode |
|
---|---|---|
g1 |
libg1client_S.lib |
libg1client_SU.lib |
openssl |
otlibeay64.lib otlibssl64.lib |
otlibeay64.lib otlibssl64.lib |
opentop |
opentop.lib |
opentopw.lib |
icu |
libicuuc.lib libicudt.lib libicuin.lib libicuio.lib |
|
Poco |
PocoXML64.lib |
PocoXML64w.lib |
ASCII |
Unicode |
|
---|---|---|
g1 |
libg1client_SD.lib |
libg1client_SUD.lib |
openssl |
otlibeay64d.lib otlibssl64d.lib |
otlibeay64d.lib otlibssl64d.lib |
opentop |
opentopd.lib |
opentopwd.lib |
icu |
libicuucd.lib libicudtd.lib libicuind.lib libicuiod.lib |
|
Poco |
PocoXML64d.lib |
PocoXML64wd.lib |
ASCII |
Unicode |
|
---|---|---|
g1 |
libg1client.lib |
libg1client_U.lib |
openssl |
otlibeay64mt.lib otlibssl64mt.lib |
otlibeay64mt.lib otlibssl64mt.lib |
opentop |
opentopmt.lib |
opentopmtw.lib |
icu |
libicuucmt.lib libicudtmt.lib libicuinmt.lib libicuiomt.lib |
|
Poco |
PocoXMLmt64.lib |
PocoXML64mtw.lib |
ASCII |
Unicode |
|
---|---|---|
g1 |
libg1client_D.lib |
libg1client_UD.lib |
openssl |
otlibeay64mtd.lib otlibssl64mtd.lib |
otlibeay64mtd.lib otlibssl64mtd.lib |
opentop |
opentopmtd.lib |
opentopmtwd.lib |
icu |
libicuucmtd.lib libicudtmtd.lib libicuinmtd.lib libicuiomtd.lib |
|
Poco |
PocoXMLmt64d.lib |
PocoXML64mtwd.lib |
Dynamische Bibliothek
ASCII |
Unicode |
|
---|---|---|
g1 |
g1client.dll |
g1client_U.dll |
openssl |
otlibeay64mts.dll otlibssl64mts.dll |
otlibeay64mts.dll otlibssl64mts.dll |
opentop |
opentopmts.dll |
opentopmtws.dll |
icu |
icuuc64.dll icuio64.dll icuin64.dll icudt64.dll |
|
Poco |
PocoXML64mts.dll |
PocoXML64mtws.dll |
ASCII |
Unicode |
|
---|---|---|
g1 |
g1client_D.dll |
g1client_UD.dll |
openssl |
otlibeay64mtds.dll otlibssl64mtds.dll |
otlibeay64mtds.dll otlibssl64mtds.dll |
opentop |
opentopmtds.dll |
opentopmtwds.dll |
icu |
icuuc64d.dll icuio64d.dll icuin64d.dll icudt64d.dll |
|
Poco |
PocoXML64mtds.dll |
PocoXML64mtwds.dll |