[interfacekit] Some news

Some good and bad news:

The good: I was able to run all the BApplication tests using our app_server and
registrar and our libbe.so.

I needed to fix some stuff in ServerApp, though, and something in 
CursorManager.cpp.

I won't commit the patches as I'm not sure about the code in there, and it would
be better than you (DW or Adi) do the work.

In ServerApp.cpp, ServerApp::~ServerApp(). I had to comment the following lines:

if (fAppCursor)
  delete fAppcursor.

This lead to a crash, because, later, CursorManager::RemoveAppCursor() is
called, which deletes that cursor again.

The other stuff which is broken is the above function. You need to iterate the
list in reverse order. Otherwise, removing items as you do will lead to  out of
bounds writes.

I can't really understand well that code, in fact I don't understand why there
is need for RemoveAppCursor.


Anyway, the bad news is that I thought that the BMessage issue was caused by the
use of my BDataIO related classes, but trying to remove them from the build
didn't help.

And now... back to lurk mode. I hope you got some fun at Begeistert :)





____________________________________________________________
Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione. 
Abbonati subito su http://www.libero.it 



Other related posts: