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 |
otlibeay32.lib otlibssl32.lib |
otlibeay32.lib otlibssl32.lib |
opentop |
opentop.lib |
opentopw.lib |
icu |
libicuuc.lib libicudt.lib libicuin.lib libicuio.lib |
|
Poco |
PocoXML32.lib |
PocoXML32w.lib |
ASCII |
Unicode |
|
---|---|---|
g1 |
libg1client_SD.lib |
libg1client_SUD.lib |
openssl |
otlibeay32d.lib otlibssl32d.lib |
otlibeay32d.lib otlibssl32d.lib |
opentop |
opentopd.lib |
opentopwd.lib |
icu |
libicuucd.lib libicudtd.lib libicuind.lib libicuiod.lib |
|
Poco |
PocoXML32d.lib |
PocoXML32wd.lib |
ASCII |
Unicode |
|
---|---|---|
g1 |
libg1client.lib |
libg1client_U.lib |
openssl |
otlibeay32mt.lib otlibssl32mt.lib |
otlibeay32mt.lib otlibssl32mt.lib |
opentop |
opentopmt.lib |
opentopmtw.lib |
icu |
libicuucmt.lib libicudtmt.lib libicuinmt.lib libicuiomt.lib |
|
Poco |
PocoXMLmt32.lib |
PocoXML32mtw.lib |
ASCII |
Unicode |
|
---|---|---|
g1 |
libg1client_D.lib |
libg1client_UD.lib |
openssl |
otlibeay32mtd.lib otlibssl32mtd.lib |
otlibeay32mtd.lib otlibssl32mtd.lib |
opentop |
opentopmtd.lib |
opentopmtwd.lib |
icu |
libicuucmtd.lib libicudtmtd.lib libicuinmtd.lib libicuiomtd.lib |
|
Poco |
PocoXMLmt32d.lib |
PocoXML32mtwd.lib |
Dynamische Bibliothek
ASCII |
Unicode |
|
---|---|---|
g1 |
g1client.dll |
g1client_U.dll |
openssl |
otlibeay32mts.dll otlibssl32mts.dll |
otlibeay32mts.dll otlibssl32mts.dll |
opentop |
opentopmts.dll |
opentopmtws.dll |
icu |
icuuc32.dll icuio32.dll icuin32.dll icudt32.dll |
|
Poco |
PocoXML32mts.dll |
PocoXML32mtws.dll |
ASCII |
Unicode |
|
---|---|---|
g1 |
g1client_D.dll |
g1client_UD.dll |
openssl |
otlibeay32mtds.dll otlibssl32mtds.dll |
otlibeay32mtds.dll otlibssl32mtds.dll |
opentop |
opentopmtds.dll |
opentopmtwds.dll |
icu |
icuuc32d.dll icuio32d.dll icuin32d.dll icudt32d.dll |
|
Poco |
PocoXML32mtds.dll |
PocoXML32mtwds.dll |