@rel
@scanman, I think it will need an event buffer in the module. Module should only fill a buffer in callback (it shouldn't do any GUI update in EPG callback) A seperate/another thread should read the events from this buffer and update the GUI.
Yes, i still know this. Can cause error, crash or hangup. Mostly...
The CallBack here only fills a kind of buffer and converts a few things. No GUI related function/update is called !
The 'MAIN' depends on a simple Timer wich calls a checkroutine every 500ms and sets a flag so that the CallBack returnes immediatly when Data from the buffer is collected new and displayed. Blocking should not happen.
An other curios behavior:
When i first set the CallBack, delivering of data will stop after 1-2 seconds. For continuos reading i managed it like this: The Timer-routine checks a constantly incremented counter from the CallBack. if it stopps, i simply start the CallBack again.
Maybe that this little 'trick' causes some undefined behavior.
@ all other
I'm happy that you like this little EPG.
I will collect all your suggestions / probs and we will have an Update soon.
Following is still fixed/changed here:
- Set active channel with doubleclick (no more separate button)
- Text search on simple RETURN in the edit-box. (no more separate button)
- Set a filter now directly by changing a check-box (no more separate button)
>>> less buttons = easier handling. I hope so...
.
Visit the german DD-Forum: www.dvbdream.de
_________________________________________
90cm Dish on Rotor STAB HH 120 / Uni-LNB + 90cm Dish / Dual-Quad-LNB to 9/8 MultiSwitch for 23.5°E/19.2°E --- SkyStar 2, SkyStar USB-Box plus, TwinHan 1041 S2, Technotrend S-3200 S2, DVBWorld S2, Terratec Cinergy T USB XE --- a few PCs with AMD-CPU/ASUS-Boards from Athlon-2400+ to 64 X2 5600+, 1-2GB RAM, totally up to 2 TB HardDisk, nVidia Graphics. All using XP-Professional - everytime up2date