On Tue, Nov 23, 2010 at 04:04:35PM +0100, Michael Haberler wrote: > [DISPLAY] > EMBED_TAB_NAME = gladevcp-test > EMBED_TAB_COMMAND = gladevcp -c gladevcp-test -w {XID} gladevcp-test.ui
> [HAL] > POSTGUI_HALFILE = gladevcp-test.hal > > during startup I get > > gladevcp-test.hal:5: Pin 'gladevcp-test.hal_button1' does not exist > > However, if I drop the .hal file from .ini and manually enter the statements > from gladevcp-test.hal they work fine > > this looks like a race condition to me - the POSTGUI_HALFILE is run before > gladevcp had time to setup the hal component There is no race. POSTGUI_HALFILE is executed strictly _before_ loading custom tab. Now I realize that i don't see any way to reliably wait for loaded component... One possible workaround would be to create HAL file with loadusr -Wn ... gladevcp - c... in the beginning and with net/setp commands after it but there is no way to pass window id to gladevcp... Other way is to add parameter to gladevcp for HAL file to load after component is established. Pavel ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers