Hey all, I finally came up with an interface-preserving fix to the menu builder...
I've just introduced a CMenuHandleTable class to aid the CMenuBuilder in managing HMENU <-> int mappings. Basically, as soon as I have an HMENU and need an int to return to JScript, I register the handle in the table, and get a cookie back. If I find myself with an int, and need a menu handle to meddle with, I do a lookup in the table to get a HMENU back to operate on. As I mentioned last, this is necessary because with 64-bit Windows, casting from HMENU to int, and vice versa, is verboten. Now I think we should be able to build this thing with a 64-bit compiler... Next step is to see if running it works at all :-) Thoughts? - Kim ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Archive: https://lists.sourceforge.net/lists/listinfo/dqsd-devel
