Bonjour,
J'ai voulu cr�er un DLL, le code est le suivant :
Il me retourne le probl�me suivant :
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6
7
8
9
10 #include <vcclr.h> #include <iostream> #include <vector> using namespace System; using namespace System::Collections; extern "C" __declspec(dllexport) void ToBinaryForm(ArrayList ^to_binary) { return; }
Mais quand j'enl�ve le param�tre (ArrayList ^to_binary) de la m�thode ToBinaryForm, tout se passe bien, o� est le probl�me ?Error 1 error C3395: 'ToBinaryForm' : __declspec(dllexport) cannot be applied to a function with the __clrcall calling convention c:\Documents and Settings\aelhajjaji\Bureau\BinaryForm\BinaryForm\BinaryF.cpp 9
Partager