-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, January 7, 2003, at 10:10 PM, Deepak Kumar Singh wrote:
Hi ,
I am trying to play with darwin kernel....
in MAC OS X onwards Trap manager is not available ....
is there any mechanism to get system menu handle from kernel extension
???
this code is obsolete in MAC OS X
/***********************************************/
gOldDrawMenuBar = GetToolTrapAddress(_DrawMenuBar);
SetToolTrapAddress((ProcPtr)MyDrawMenuBar,_DrawMenuBar);
/***********************************************/
If any body know the solution ..please let me know...
another problem is to load a dynamic link library in third party
application
????
any solution is welcome ...
There are NO, repeat NO UI elements in the kernel. All UI elements are handled by userland applications (WindowServer, and the various drawing frameworks). So accessing these elements is next to impossible in kernel. Finally, there really are no "system globals" in the sense of OS 9. A lot of things that we're globals are now process specific, and those that are still globals (through shared mem. or something else) are not easily accessible. Sorry to rain on your parade, but all of the OS 9 crap was left behind for stability in OS X, and I for one am glad that it was. Brian Bergstrand <http://www.classicalguitar.net/brian/> PGP Key ID: 0xB6C7B6A2 We learn wisdom from failure much more than from success. - Samuel Smiles -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 iQA/AwUBPhud9nnR2Fu2x7aiEQLfKwCfbe4HXjbQjJn6EAQeYTmscldy6gYAoLuW aG4PUmOOsgV0hLD2dxjTLIEH =AykF -----END PGP SIGNATURE----- _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Brian Bergstrand