Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. visual studio 2008 QT project with c++

visual studio 2008 QT project with c++

Scheduled Pinned Locked Moved Managed C++/CLI
helpc++csharpvisual-studiosysadmin
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mkhitar Sargsyan
    wrote on last edited by
    #1

    Hello! I had an error in my project created with QT and C++ I created Server which gets data from AudioInput and gives it to UDP Socket, there is no problem, but in Client's project I had a problem, when I tried to write data to AudioOutput device after UDP Socket gets this data from net in my project error was in this line "int l = audioSource->read(audioBuffer,input);" in "qaudiooutput_win32_p.cpp" and this is Call Stack at time debugging which shows this QtMultimediad4.dll!QAudioOutputPrivate::deviceReady() Line 579 + 0x1c bytes C++ QtMultimediad4.dll!QAudioOutputPrivate::qt_static_metacall(QObject * _o=0x00b53308, QMetaObject::Call _c=InvokeMetaMethod, int _id=1, void * * _a=0x00b51d20) Line 52 + 0x8 bytes C++ what I did wrong PLEASE HELP!!!!! :(

    L A 2 Replies Last reply
    0
    • M Mkhitar Sargsyan

      Hello! I had an error in my project created with QT and C++ I created Server which gets data from AudioInput and gives it to UDP Socket, there is no problem, but in Client's project I had a problem, when I tried to write data to AudioOutput device after UDP Socket gets this data from net in my project error was in this line "int l = audioSource->read(audioBuffer,input);" in "qaudiooutput_win32_p.cpp" and this is Call Stack at time debugging which shows this QtMultimediad4.dll!QAudioOutputPrivate::deviceReady() Line 579 + 0x1c bytes C++ QtMultimediad4.dll!QAudioOutputPrivate::qt_static_metacall(QObject * _o=0x00b53308, QMetaObject::Call _c=InvokeMetaMethod, int _id=1, void * * _a=0x00b51d20) Line 52 + 0x8 bytes C++ what I did wrong PLEASE HELP!!!!! :(

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Please do not post the same question in multiple forums. See http://www.codeproject.com/Messages/1329679/The-Cplusplus-CLI-is-for-managed-and-mixed-mode-Cp.aspx[^].

      Veni, vidi, abiit domum

      1 Reply Last reply
      0
      • M Mkhitar Sargsyan

        Hello! I had an error in my project created with QT and C++ I created Server which gets data from AudioInput and gives it to UDP Socket, there is no problem, but in Client's project I had a problem, when I tried to write data to AudioOutput device after UDP Socket gets this data from net in my project error was in this line "int l = audioSource->read(audioBuffer,input);" in "qaudiooutput_win32_p.cpp" and this is Call Stack at time debugging which shows this QtMultimediad4.dll!QAudioOutputPrivate::deviceReady() Line 579 + 0x1c bytes C++ QtMultimediad4.dll!QAudioOutputPrivate::qt_static_metacall(QObject * _o=0x00b53308, QMetaObject::Call _c=InvokeMetaMethod, int _id=1, void * * _a=0x00b51d20) Line 52 + 0x8 bytes C++ what I did wrong PLEASE HELP!!!!! :(

        A Offline
        A Offline
        Albert Holguin
        wrote on last edited by
        #3

        Could be that the audio device is being locked up by the other caller. You don't show the actual error code but the function where it stalls out would indicate that he's checking if the device is ready. You should post the actual error output instead of the call stack. Also, this is likely a problem with how you're using Qt, so you may be better off asking for help in a Qt forum.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups