Dll c#

imene_t1 Messages postés 6 Date d'inscription mardi 11 septembre 2007 Statut Membre Dernière intervention 24 novembre 2007 - 23 nov. 2007 à 18:52
Neomaster951 Messages postés 7 Date d'inscription mercredi 4 mai 2005 Statut Membre Dernière intervention 24 novembre 2007 - 24 nov. 2007 à 19:33
Bonsoir à tous , voila je dois concevoir une application windows sous
c# qui utilise les dll de mon programme en matlab, mais je ne sais pas
ou je dois mettre ces dll leur déclaration et leurs fonctions dans le
programme , de l'aide me serait utile ,merci d'avance.

3 réponses

Elxior Messages postés 56 Date d'inscription jeudi 28 juin 2007 Statut Membre Dernière intervention 29 août 2010 1
23 nov. 2007 à 23:11
using System.Runtime.InteropServices;

 [DllImport("CHEMIN DLL")]
 static extern TYPE_RETOUR TA_FUNCTION(ARGUMENTS);

Object = TA_FUNCTION(arg1, arg2..);

We can't solve problems by using the same kind of thinking we used when we created them.
0
nhervagault Messages postés 6063 Date d'inscription dimanche 13 avril 2003 Statut Membre Dernière intervention 15 juillet 2011 37
23 nov. 2007 à 23:34
0
Neomaster951 Messages postés 7 Date d'inscription mercredi 4 mai 2005 Statut Membre Dernière intervention 24 novembre 2007
24 nov. 2007 à 19:33
Nhervagault, toi tu sais le faire en terme de messages inutiles... Tu reprend en plus difficile ce que Elxior a déjà très bien expliqué -_-
0
Rejoignez-nous