/srv/irclogs.ubuntu.com/2012/10/04/#ubuntu-app-devel.txt

CajunTechieHello everyone. Does anyone know of any tutorals for access things like notifications in languages other than the ones officiall supported and documented?00:15
=== jml` is now known as jml
IDWMasterHi20:09
IDWMasterI have a function in a vtable called GetLength20:10
IDWMasterIt's a virtual function which gets the length of a file20:10
IDWMasterWhen I'm within the scope of the function; everything works properly, but when I return the length of the file, the caller is always receiving 020:11
IDWMasterI'm wondering why this is happening, and what I could be doing wrong.20:11
IDWMasterstruct stat statbuff;20:11
IDWMasterstatbuff.st_size = 50;20:11
IDWMasterstat(fname,&statbuff);20:11
IDWMasterinst->GetConsole()->WriteLine((double)statbuff.st_size);20:11
IDWMasterreturn statbuff.st_size;20:11
IDWMasterPrinted value is correct20:11
IDWMasterreturn value is always 020:11
IDWMasterAlso; gdb can't properly debug it20:12
IDWMasterMeaning I set a breakpoint and the breakpoint is never hit but the code still gets executed20:12
IDWMasterAny ideas?20:14
IDWMasterI'm passing the return value through an ABI boundary by the way20:14
IDWMasterNot sure if that has anything to do with it or not20:15
IDWMasterIs this the right channel for these kinds of questions?20:18

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!