I'm trying to build it on 10.6. I had to do some small changes, it seems to work now (usual loading strings show up in the Console), but my project (multixfinder) segfaults systemuiserver while in 64 bit mode. Running it in 32 bit (with or without the modifications), even on 10.6, is fine.
I'd like someone with more knowledge than me to review the changes, I've posted the modified MenuCracker.m here: http://pastebin.com/m4f1aa415
As you can see, all I did is to change "method->method_imp" in "method_getImplementation(method)" or method_setImplementation(method, (IMP)function), I have little knowledge of obj-c, but this seems to be the problem to me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to build it on 10.6. I had to do some small changes, it seems to work now (usual loading strings show up in the Console), but my project (multixfinder) segfaults systemuiserver while in 64 bit mode. Running it in 32 bit (with or without the modifications), even on 10.6, is fine.
I'd like someone with more knowledge than me to review the changes, I've posted the modified MenuCracker.m here: http://pastebin.com/m4f1aa415
As you can see, all I did is to change "method->method_imp" in "method_getImplementation(method)" or method_setImplementation(method, (IMP)function), I have little knowledge of obj-c, but this seems to be the problem to me.
I'm trying to get MenuCracker working on 10.6 with MenuMeters. Jack, can you post that code again? It looks like that pastebin expired.
Sure, the code is up again here:
http://pastebin.com/f3954690
The problem was in multiXFinder, now everything works fine in 10.6 in 64 bit mode.
I am the developer at ScriptSoftware.com that updated menucracker for 10.6 and it does work.
What i did was like what jackoverfull did. I also updated:
static NSInteger sortByBundleVersion( id path1, id path2, void *context)
to used NSInteger.
Pre-compiled version is in patch section.
Mark.
NOTE: Menu Extras also need to be compiled as 64 menu extras to load in Snow Leopard.