From: Ahmed N. <Ahm...@bi...> - 2008-04-20 08:26:29
|
Dear Patrick, Thanks for this nice note. "We have a dummuNav DSo". (I have not to build my one.) And I want to check with you the code of navWrite at line 352. m_navlist = (dtkNavList*)m_manager->check("dtkNavList", DTKNAVLIST_TYPE); if (m_navlist == NULL) { printf("Error: Navlist is NULL\n"); fflush( stdout ); exit(1); } m_nav = m_navlist->current(); if (m_navlist == NULL) { printf("Error: Navlist is NULL\n"); fflush( stdout ); exit(1); } 1- I think that we want to check for "m_nav == NULL" in the second "if" Not "m_navlist == NULL". 2- Why do we check for nav and navList? (This will make me understand navwrite correctly). Thanks, Ahmed Nawar Software Developer International School of Information Science (ISIS) Bibliotecha Alexandrina P.O. Box 138, El-Chatby Alexandria 21526, Egypt Phone:+(203) 4839999, Ext.:1498 Fax:+(203) 482 0405 www.bibalex.org/isis -----Original Message----- From: Patrick Shinpaugh [mailto:shp...@vt...] Sent: Thu 4/17/2008 3:07 PM To: Ahmed Nawar Cc: div...@li...; Amal Abdelkarim Subject: Re: [diverse-devel] Stop Navigation Hi Ahmed, Replace the wandJoystickNav with dummyNav. This should give you what you want. Pat Ahmed Nawar wrote: > Dear All, > > We want to stop the Navigation in a cluster Running DGL. > (I want to stop the Joystick but I want to use buttons) > > So We Use our vtCaveClusterGroup DSO. And this will Make as > > Server/console Loads these DSOs > "desktopCaveEmulateGroup:starter:navWrite" > And desktopCaveEmulateGroup contains > "caveDTKInput:desktopDisplay:wandJoystickNav:buttonNavControl" > > > - I Tried to remove "wandJoystickNav" Or Both "wandJoystickNav:buttonNavControl" > But the program end with "segmentation fault" > > { I think this is because "navWrite" checks about > if there is a navigation DSO or not ?!?!} > > - I tried to remove the "navWrite" and "navRead" from server and clients . > (Ofcourse I cannot use the buttons). > The application run But when I closed the Application the clients did not close. > > - So I built a copy from "wandJoystickNav" but I changed it > to do nothing with navigation. and I loaded it from "desktopCaveEmulateGroup". > And it works correctly. > > If we have another solution. Or any comment about above. > This will be a nice of you. > > > Thanks, > Ahmed Nawar > Software Developer > International School of Information Science (ISIS) > Bibliotecha Alexandrina > P.O. Box 138, El-Chatby Alexandria 21526, Egypt > Phone:+(203) 4839999, Ext.:1498 > Fax:+(203) 482 0405 > www.bibalex.org/isis > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > diverse-devel mailing list > div...@li... > https://lists.sourceforge.net/lists/listinfo/diverse-devel > > -- Patrick Shinpaugh Virginia Tech UVAG System Administrator/Programmer 540-231-2054 |