ordy
Messages postés9Date d'inscriptionlundi 16 avril 2001StatutMembreDernière intervention24 novembre 2003
-
24 nov. 2003 à 16:43
ordy
Messages postés9Date d'inscriptionlundi 16 avril 2001StatutMembreDernière intervention24 novembre 2003
-
24 nov. 2003 à 17:06
bonjour, j'aimerais créer une interface graphique assez simple.
l'interface graphique comprend 2 champs. un champ unicast et un autre
multicast.
avec 2 bouton ok et cancel.
J'utilise la fonction sprintf. mais celui-ci me créer une erreur.
dans m_unicast il y a : {"rtspu://compaq1/point_publication2"}
et dans m_multicast il y a : {"\\compaq1\wmiislog\point_publication1.nsc"}
void CPatchingDlg::OnOK()
{
W = new char[54];
sprintf (W," -i %ls -o d:\\2.wmv -d %ls",m_Multicast,m_Unicast);
ShellExecute(NULL,"open","wmvcop",W,NULL,SW_SHOWNORMAL);
CDialog::OnOK();
}
si quelqu'un sait comment je peux resoudre mon problème merci d'avance.
dans mon fichier W il ne me prend pas le m_multicast et le m_unicast.