![]() |
IR-Remote code from XBMC? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: IR-Remote code from XBMC? (/showthread.php?tid=7470) |
- snowmanx - 2004-11-21 why would a program i am writing freeze at this line of code (it compiles nicely, but freezes when i run the program)? this is the first part of my continuous for() loop in xbapp.cpp Quote: // run the game loop, animating and rendering frames Quote:zeromemory( &m_defaultir_remote, sizeof(m_defaultir_remote) ); i continually log stuff, so i am certain the program is freezing here at that certain zeromemory function. when i completely remove all the remote code from the for loop, it compiles and runs smoothly. when i just remove the zeromemory line from below the log("zeromemory try 1\n") line the program can't display any text, but it renders the first screen, which is just a gradient background with some boxes. this is in my xbapp.h Quote: // members to init the xinput devices. i also have the xbirremote.h, xbinputex.h, and xbinputex.cpp straight from the xbmc source. i hope i made this as easy to reaad as possible, thanks for any help! |