Re: program memory consumption?

2008-10-01 Thread Pierre Guilluy
#x27;d like to be able to dynamically load/unload unused visuals when the process's used memory reaches a certain amount. Pierre Nick Zitzmann wrote: On Oct 1, 2008, at 8:42 AM, Pierre Guilluy wrote: Are there functions in Cocoa APIs which would give me how much memory my progra

program memory consumption?

2008-10-01 Thread Pierre Guilluy
Hello, Are there functions in Cocoa APIs which would give me how much memory my program's using? (at least "virtual memory" as listed in Activity Monitor) Thanks in advance. Pierre ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Setting "Open With" program/file association programmatically (command line or script)

2008-09-23 Thread Pierre Guilluy
Hello, How would one bind an application to a given file type programmatically? The normal method is to select a file of the type, choose "get Info", then "open with" and select an application to always open the file type with. What I would like to know is if it possible to do so either u

Weak Linking & using HiShape

2008-09-02 Thread Pierre Guilluy
Hi there, We're trying to compile our application so that it can run under 10.5 & 10.4 using weak linking (this is required for us other libraries). Our software is based on wxWidget and so for the moment we're evaluating the possibility of running the minimal sample from wxWidget using weak link