configuration properties ->generale ->configuration type
tu modifie pour dll.. Apr�s y aura surement des lib � rajouter.
Version imprimable
demande dans un forum mieux adapt�. comme celui pour visual
Voici la liste des erreurs
md5.c
�dition des liens en cours...
base64.obj : warning LNK4075: ' /EDITANDCONTINUE' ignor� � cause de la sp�cification '/OPT:ICF'
Cr�ation de la biblioth�que .\output\win32-dbg\win32.lib et de l'objet .\output\win32-dbg\win32.exp
Log.obj : error LNK2019: symbole externe non r�solu __imp__MessageBoxW@16 r�f�renc� dans la fonction "public: __thiscall Log::Log(int,char const *,char const *)" (??0Log@@QAE@HPBD0@Z)
win32adapter.obj : error LNK2019: symbole externe non r�solu __imp__wsprintfW r�f�renc� dans la fonction "char * * __cdecl readDir(char *,int *,bool)" (?readDir@@YAPAPADPADPAH_N@Z)
Win32TransportAgent.obj : error LNK2001: symbole externe non r�solu __imp__wsprintfW
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu __imp__InternetCloseHandle@4 r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu _uncompress r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu __imp__InternetReadFile@16 r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu __imp__InternetErrorDlg@20 r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu __imp__GetDesktopWindow@0 r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu __imp__HttpQueryInfoW@20 r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu __imp__InternetGoOnlineW@12 r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu __imp__HttpSendRequestW@20 r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu __imp__InternetSetOptionW@16 r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu _compress r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu __imp__HttpOpenRequestW@32 r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu __imp__InternetConnectW@32 r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu __imp__InternetOpenW@20 r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegCloseKey@4 r�f�renc� dans la fonction "public: virtual char * __thiscall DeviceManagementNode::readPropertyValue(char const *)" (?readPropertyValue@DeviceManagementNode@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegQueryValueExW@24 r�f�renc� dans la fonction "public: virtual char * __thiscall DeviceManagementNode::readPropertyValue(char const *)" (?readPropertyValue@DeviceManagementNode@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegCreateKeyExW@36 r�f�renc� dans la fonction "public: virtual char * __thiscall DeviceManagementNode::readPropertyValue(char const *)" (?readPropertyValue@DeviceManagementNode@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegQueryInfoKeyW@48 r�f�renc� dans la fonction "public: virtual int __thiscall DeviceManagementNode::getChildrenMaxCount(void)" (?getChildrenMaxCount@DeviceManagementNode@@UAEHXZ)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegOpenKeyExW@20 r�f�renc� dans la fonction "public: virtual int __thiscall DeviceManagementNode::getChildrenMaxCount(void)" (?getChildrenMaxCount@DeviceManagementNode@@UAEHXZ)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegEnumKeyExW@32 r�f�renc� dans la fonction "public: virtual char * * __thiscall DeviceManagementNode::getChildrenNames(void)" (?getChildrenNames@DeviceManagementNode@@UAEPAPADXZ)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegSetValueExW@24 r�f�renc� dans la fonction "public: virtual void __thiscall DeviceManagementNode::setPropertyValue(char const *,char const *)" (?setPropertyValue@DeviceManagementNode@@UAEXPBD0@Z)
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptReleaseContext@8 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptReleaseContext@8
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptDestroyHash@4 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptDestroyHash@4
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptDestroyKey@4 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptDestroyKey@4
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptDecrypt@24 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptSetKeyParam@16 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptSetKeyParam@16
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptDeriveKey@20 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptDeriveKey@20
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptHashData@16 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptHashData@16
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptCreateHash@20 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptCreateHash@20
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptAcquireContextW@20 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptAcquireContextW@20
DESEncoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptEncrypt@28 r�f�renc� dans la fonction "public: virtual char * __thiscall DESEncoder::transform(char *,struct TransformationInfo &)" (?transform@DESEncoder@@UAEPADPADAAUTransformationInfo@@@Z)
.\output\win32-dbg\win32.dll : fatal error LNK1120: 32 externes non r�solus
Cela vient t'il de la zlib ?
Comment l'int�grer dans la dll ?
Merci
Le projet n'est pas li� aux biblioth�ques d'importation de Windows.
- Pour MessageBoxW() et les autres fonctions USER : ajouter user32.lib aux options d'�dition de liens.
- Pour les fonctions de la CryptoAPI et celles des registres : ajouter Advapi32.lib
- Pour les fonctions Internet : ajouter wininet.lib
Pour le reste, ben, tu fais comme les autres: Tu regardes dans l'aide des fonctions sur MSDN et tu ajoutes la biblioth�que d'importation indiqu�e!
Heureusement que j'ai dit "ajouter aux options d'�dition de liens"... :roll:
Project Properties -> Configuration properties -> Linker -> Input -> champ Additional Dependencies.
Le L5G de windev est a des ann�es lumi�res en avance sur VC++ ...
La programmation orient�e objet est un r�gal avec les ciollections de proc�dures classes et m�thodes ...
d�sol� mais je ne m'en sors pas avec VC++ ...
Il y a une 15aine d'ann�es je d�vellop� en C mais bon ... depuis avec les languages �volu�s ...
Mais la il se trouve que le SDK est propos� en C++ ...
Et je n'ai pas trouv� de version compil�e ... Voila pourquoi j'ai t�l�charg� Visual C++ Express ...
Merci pour votre aide ...
PS : Je ne sais toujours pas comment int�grer les lib et pouvoir enfin g�n�rer ma DLL ...
As-tu le SDK, qui se t�l�charge s�par�ment de VC++ Express ?
Normalement, tu n'as pas � mettre le chemin complet.
Si Visual ne trouve pas la lib, il faudra rajouter le r�pertoire dans les options de Visual. Mais normalement, l'installeur du Platform SDK a du s'en charger...
Normalement, oui.
Voici ce que j'ai dans les options de biblioth�ques de VC++.
�a doit �tre bon.
As-tu toujours des erreurs ?
Si oui, lesquelles ?
J'ai int�gr� user32.lib et wininet.lib (je pense que le chemin des lib du sdk est correct maintenant voir post ci dessus)
Il me reste 28 erreurs a la compilation ... quelqu'un peux me dire quelle(s) lib inclure ppour ces erreurs ci ?
------ D�but de la g�n�ration*: Projet*: win32, Configuration*: Debug Win32 ------
�dition des liens en cours...
base64.obj : warning LNK4075: ' /EDITANDCONTINUE' ignor� � cause de la sp�cification '/OPT:ICF'
Cr�ation de la biblioth�que .\output\win32-dbg\win32.lib et de l'objet .\output\win32-dbg\win32.exp
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu _uncompress r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non r�solu _compress r�f�renc� dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegCloseKey@4 r�f�renc� dans la fonction "public: virtual char * __thiscall DeviceManagementNode::readPropertyValue(char const *)" (?readPropertyValue@DeviceManagementNode@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegQueryValueExW@24 r�f�renc� dans la fonction "public: virtual char * __thiscall DeviceManagementNode::readPropertyValue(char const *)" (?readPropertyValue@DeviceManagementNode@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegCreateKeyExW@36 r�f�renc� dans la fonction "public: virtual char * __thiscall DeviceManagementNode::readPropertyValue(char const *)" (?readPropertyValue@DeviceManagementNode@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegQueryInfoKeyW@48 r�f�renc� dans la fonction "public: virtual int __thiscall DeviceManagementNode::getChildrenMaxCount(void)" (?getChildrenMaxCount@DeviceManagementNode@@UAEHXZ)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegOpenKeyExW@20 r�f�renc� dans la fonction "public: virtual int __thiscall DeviceManagementNode::getChildrenMaxCount(void)" (?getChildrenMaxCount@DeviceManagementNode@@UAEHXZ)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegEnumKeyExW@32 r�f�renc� dans la fonction "public: virtual char * * __thiscall DeviceManagementNode::getChildrenNames(void)" (?getChildrenNames@DeviceManagementNode@@UAEPAPADXZ)
DeviceManagementNode.obj : error LNK2019: symbole externe non r�solu __imp__RegSetValueExW@24 r�f�renc� dans la fonction "public: virtual void __thiscall DeviceManagementNode::setPropertyValue(char const *,char const *)" (?setPropertyValue@DeviceManagementNode@@UAEXPBD0@Z)
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptReleaseContext@8 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptReleaseContext@8
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptDestroyHash@4 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptDestroyHash@4
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptDestroyKey@4 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptDestroyKey@4
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptDecrypt@24 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptSetKeyParam@16 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptSetKeyParam@16
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptDeriveKey@20 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptDeriveKey@20
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptHashData@16 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptHashData@16
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptCreateHash@20 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptCreateHash@20
DESDecoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptAcquireContextW@20 r�f�renc� dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non r�solu __imp__CryptAcquireContextW@20
DESEncoder.obj : error LNK2019: symbole externe non r�solu __imp__CryptEncrypt@28 r�f�renc� dans la fonction "public: virtual char * __thiscall DESEncoder::transform(char *,struct TransformationInfo &)" (?transform@DESEncoder@@UAEPADPADAAUTransformationInfo@@@Z)
.\output\win32-dbg\win32.dll : fatal error LNK1120: 19 externes non r�solus
Le journal de g�n�ration a �t� enregistr� � l'emplacement "file://c:\Documents and Settings\Cyril\Mes documents\Projets Windev 10\C-Logik\SyncML\Funambol sdk C++\Funambol\sdk\c++\build\win32\output\win32-dbg-object\BuildLog.htm"
win32 - 28 erreur(s), 1 avertissement(s)
========== G�n�ration*: 0 a r�ussi, 1 a �chou�, 0 mis � jour, 0 a �t� ignor� ==========
Merci ....