Re: passage de char* d'une DLL WCE vers WDev

Posté par Manu le 28/10/2005 9:37:27
int fc( char * pio_chaine)
{ t= new char[4];
t[0]= ' ';
t[1]= 'A';
t[2]= ' ';
t[3]= '\0';
strcpy(t, pio_chaine);
}


devrait focntionner avec un appel dll32 et une chaine asciiz sur 4

Cette contribution était de : http://old.wdforge.org/newbb/viewtopic.php?forum=14&topic_id=2955&post_id=12342