Hi! How can I "subclass" a GT?
I can't found how could be the right way :-( I did it: INIT PROCEDURE LOAD_OWNCGI HB_INLINE(){ PHB_GT_BASE curGT; hb_gtRegister( >Init ); // hb_gtLoad( "CGI", NULL ); // CGI already loaded. curGT = hb_gt_Base(); // memcpy( HB_GTSUPER, curGT->pFuncTable, sizeof( HB_GT_FUNCS ) ); hb_gtLoad( "OWNCGI", curGT->pFuncTable ); } RETURN First, I can't found how to obtain CGI's pFuncTable in a safe way, or how to assign it to my own SUPER table. Each call to hb_gtLoad() destroys SUPER' and SELF' pFuncTable . That means if I call hb_gtLoad("OWNCGI") again, I will lost it. And, HB_GTSELF_INIT() is only called at program startup. My GT is not initialized :( Where am I wrong? Is GT-subclass a work in progress? Or, is it not implemented yet, but structure is pre-designed for that? Thanks in advance. Atte. Vic ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers