Bibliothèques C prises en charge par Windows
Chaque configuration API produit des fichiers de bibliothèque avec un nom de base commun (g1client) mais avec un suffixe voire un préfixe uniques ("lib" dans le cas des bibliothèques statiques). Les suffixes de bibliothèque fonctionnent comme suit :
<lib>g1client<S><U><D>.<lib|dll>
- lib : indique une bibliothèque statique.
- dll : indique une bibliothèque dynamique (partagée).
- S : indique une version thread simple. S'il est absent, il indique une version thread multiple.
- U—indique une version construite en UNICODE. Si cette lettre est absente, cela indique une construction ASCII.
- D : indique une version debug. Si ce suffixe est absent, il indique une version de publication optimisée.
Pour activer la version UNICODE, la définition de macro LIB_UNICODE doit être dans votre projet.
Pour utiliser la version UNICODE de la bibliothèque statique API C/C++, vous devez définir U_STATIC_IMPLEMENTATION dans votre projet.
Pour utiliser la version dynamique, vous devez définir G1CLIENT_DLL dans votre projet.
Nous offrons également un fichier appelé "auto_link.h" dans le répertoire de fichier d'en-tête et il se lie automatiquement à toutes les bibliothèques correspondantes en fonction des paramètres du projet.
Pour appeler des bibliothèques 64 bits dans Windows, vous devez définir VER_64 dans votre projet.
Bibliothèque statique
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 |
Bibliothèque dynamique
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 |