~~ PETIT LECTEUR VIDEO [ WXWIDGETS ----> WXMEDIACTRL ] ~~

cs_satellite34 Messages postés 688 Date d'inscription mercredi 6 avril 2005 Statut Membre Dernière intervention 2 juin 2006 - 7 août 2005 à 21:23
zebigboo Messages postés 1 Date d'inscription jeudi 9 décembre 2004 Statut Membre Dernière intervention 9 juin 2007 - 9 juin 2007 à 21:23
Cette discussion concerne un article du site. Pour la consulter dans son contexte d'origine, cliquez sur le lien ci-dessous.

https://codes-sources.commentcamarche.net/source/33112-petit-lecteur-video-wxwidgets-wxmediactrl

zebigboo Messages postés 1 Date d'inscription jeudi 9 décembre 2004 Statut Membre Dernière intervention 9 juin 2007
9 juin 2007 à 21:23
Ca compile c'est cool , jte remercie pour ce code inutile qui ne fonctionne pas :)
Gui59910 Messages postés 1 Date d'inscription dimanche 15 avril 2007 Statut Membre Dernière intervention 30 mai 2007
30 mai 2007 à 06:09
Meme probleme que Umis :)
Uims Messages postés 101 Date d'inscription vendredi 16 juillet 2004 Statut Membre Dernière intervention 31 octobre 2006
22 mars 2007 à 21:15
g++ boutons.cpp SatAviPlayerFrm.cpp -o uFrag `wx-config --libs --cppflags`
SatAviPlayerFrm.h:51: error: ISO C++ forbids declaration of ?wxMediaCtrl? with no type
SatAviPlayerFrm.h:51: error: expected ?;? before ?*? token
boutons.cpp: In member function ?void SatAviPlayerFrm::Boutton1Click(wxCommandEvent&)?:
boutons.cpp:9: error: ?m_mediactrl? was not declared in this scope
boutons.cpp: In member function ?void SatAviPlayerFrm::Boutton2Click(wxCommandEvent&)?:
boutons.cpp:21: error: ?m_mediactrl? was not declared in this scope
boutons.cpp: In member function ?void SatAviPlayerFrm::Boutton3Click(wxCommandEvent&)?:
boutons.cpp:32: error: ?m_mediactrl? was not declared in this scope
SatAviPlayerFrm.h:51: error: ISO C++ forbids declaration of ?wxMediaCtrl? with no type
SatAviPlayerFrm.h:51: error: expected ?;? before ?*? token
SatAviPlayerFrm.cpp: In member function ?void SatAviPlayerFrm::CreateGUIControls()?:
SatAviPlayerFrm.cpp:92: error: ?wxHIDE_READONLY? was not declared in this scope
SatAviPlayerFrm.cpp:95: error: ?m_mediactrl? was not declared in this scope
SatAviPlayerFrm.cpp:95: error: expected type-specifier before ?wxMediaCtrl?
SatAviPlayerFrm.cpp:95: error: expected `;' before ?wxMediaCtrl?
SatAviPlayerFrm.cpp: In member function ?void SatAviPlayerFrm::SatAviPlayerFrmClose(wxCloseEvent&)?:
SatAviPlayerFrm.cpp:122: error: ?m_mediactrl? was not declared in this scope
SatAviPlayerFrm.cpp: In member function ?void SatAviPlayerFrm::MnuquitterClick(wxCommandEvent&)?:
SatAviPlayerFrm.cpp:133: error: ?m_mediactrl? was not declared in this scope
SatAviPlayerFrm.cpp: In member function ?void SatAviPlayerFrm::MnuouvrirClick(wxCommandEvent&)?:
SatAviPlayerFrm.cpp:147: error: ?m_mediactrl? was not declared in this scope
SatAviPlayerFrm.cpp:150: error: ?m_mediactrl? was not declared in this scope
SatAviPlayerFrm.cpp: In member function ?void SatAviPlayerFrm::resetmedia()?:
SatAviPlayerFrm.cpp:163: error: ?m_mediactrl? was not declared in this scope
SatAviPlayerFrm.cpp: In member function ?void SatAviPlayerFrm::OnTimer(wxTimerEvent&)?:
SatAviPlayerFrm.cpp:176: error: ?m_mediactrl? was not declared in this scope
SatAviPlayerFrm.cpp: In member function ?void SatAviPlayerFrm::SliderThumbtrack(wxScrollEvent&)?:
SatAviPlayerFrm.cpp:188: error: ?m_mediactrl? was not declared in this scope
SatAviPlayerFrm.cpp: In member function ?void SatAviPlayerFrm::SlidervolThumbtrack(wxScrollEvent&)?:
SatAviPlayerFrm.cpp:202: error: ?m_mediactrl? was not declared in this scope

Euh...

Sa vient de mon linkage? Ou du code?

Je mettrais une note si sa marche!

A+
Funto66 Messages postés 1267 Date d'inscription mercredi 1 janvier 2003 Statut Membre Dernière intervention 28 février 2007 4
10 août 2005 à 02:29
Moui t'es un peu dur là BruNews, personnellement j'y ai vu un intérêt je ne savais pas que wxMediaCtrl existait ^^
cs_satellite34 Messages postés 688 Date d'inscription mercredi 6 avril 2005 Statut Membre Dernière intervention 2 juin 2006 1
8 août 2005 à 21:39
merci bru, désolé j' ai pas fait exprés d'etre un débutant, la prochaine fois je le saurai.
Et puis il ya des catégories sur ce site! Me suis-je trompé???

C'est vrai que c'est super simple mais c'était le but! Enfin, je peux toujours m'amuser a le compliquer et a le rendre obscur, pour le plaisir :-(

Enfin, sache que je ne suis pas d' un tempérament a mal prendre les choses, au contraire c'est bien, o, en apprends bocoup....

Bon allé promis la prochaine source sera compliquée....
tchao
BruNews Messages postés 21040 Date d'inscription jeudi 23 janvier 2003 Statut Modérateur Dernière intervention 21 août 2019
8 août 2005 à 21:32
Le prends pas mal mais faut avouer que celui qui regarde et qui note sur le code, ben y a pas grand chose à voir, même le timer est un objet: m_timer.Stop(); on se croirait chez VB, où est le travail du développeur ? C'est peut-être facile d'emploi mais en tant que code publié, ça laisse le lecteur sur sa faim, c'est compréhensible.
cs_satellite34 Messages postés 688 Date d'inscription mercredi 6 avril 2005 Statut Membre Dernière intervention 2 juin 2006 1
8 août 2005 à 21:21
Merci meech;

Erf, autant c'est un nouveau qui ne savait pas comment marche le systeme de notation!!

lol, on va dir ca;mais au moins, il(elle) aurait put donner une explication;
meech Messages postés 209 Date d'inscription vendredi 11 avril 2003 Statut Membre Dernière intervention 14 août 2007
8 août 2005 à 14:44
Franchement, c'est pas mal du tout.
Alors je compense la note du stupide individu qui clique au hasard.
9/10.
cs_satellite34 Messages postés 688 Date d'inscription mercredi 6 avril 2005 Statut Membre Dernière intervention 2 juin 2006 1
7 août 2005 à 21:23
Merci, 2 c'est encourageant ............

Je précise que j' ai mis cette source suite a une discussion sur le forum avec fredcl, ou on avait des difficultés avec wxMediaCtrl.

Mais bon, si vous estimés que ce travail vaut 2/10, je m' incline..
Rejoignez-nous