编写服务器程序,现在遇到一下几个问题,请来访诸位赐教,谢谢了!
1、Access数据库怎么获得当前使用行的行数?
2、在接收线程中执行UpdateData()为什么会报错。
3、Windows media player,开始播放和停止播放是什么?这几个问题不是一个系统的,但我一起问了,分给够!谢谢!

解决方案 »

  1.   

    1.select * from 查询出来当前结果,然后遍历
    2.接收线程中不要UpdateData,UpdateData是更新UI相关内容,可以接收线程发送消息到主线程,主线程中UpdateData来更新
    3.Play(), Stop()
      

  2.   

    Play(), Stop()  这两个函数是那个类里的?  我添加的是Cwmpplayer4 
      

  3.   

    你用什么访问数据库的?ado?odbc?
      

  4.   

    m_mymedia.GetControls().play();这句话会报错啊  error C2228: left of '.play' must have class/struct/union type
      

  5.   

    Open the wmpplayer4.h file and see all the methods available through the CWMPPlayer4 wrapper class. 
      

  6.   

      m_controls   =   (CWMPControls*)m_player->get_controls();  
      m_controls->stop();   
      

  7.   

    那就AbsolutePosition这个属性