Salut, ben la bib fonctionne en C#, j'avais eu à utiliser cette bib pour mon projet BTS.
imaginons que dans cette bib tu ais une fonction du style :
int FreeImageChangeColorAtPixel(int& x, int& y, uint color);
en C#, tu écris ceci :
[DllImport("FreeImage.dll", EntryPoint="FreeImageChangeColorAtPixel"] public int ChangeColorAtPixel(ref int x, ref int y, uint color);
et hop là boum, ça fonctionne...
En espérant que cela puisse t'aider...
|