You may be running into a general problem with displaying UIs from
command line applications. Without taking special care no UI will
work. I don't even think the window server will properly propagate
events to the any UI elements displayed by the command-line
application by default.
If I'm right, you'll have to tell Mac OS X that your command-line
application will present a UI. I think you use TransformProcessType to
do this:
http://www.cocoadev.com/index.pl?TransformProcessType
-Corey
On 2/24/06, Nigel Jewell <email@hidden> wrote:
> Hi all,
>
> I have a small command line application that prompts a user for a set of
> export parameters using MovieExportDoUserDialog and then exports using
> ConvertMovieToFile. This application works fine on Windows, but
> misbehaves a little under Mac OS X.
>
> When the MovieExportComponent dialogue appears, clicking on "Size"
> causes the application to hang. i.e. the dialogue becomes unresponsive
> and I have to CTRL-C to quit. Similarly "Filter" doesn't enable the
> "Cancel" or "OK" buttons, and the "Hinter" dialogue is completely greyed
> out.
>
> Does anyone have any ideas what would cause this?
>
> It is written in C++ and compiled with GCC-3.3 using Mac OS X 10.4.5 and
> QuickTime 7.0.4.
> --
> Nige.
>
> URL: http://www.matrix-data.co.uk
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> QuickTime-API mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/quicktime-api/email@hidden
>
> This email sent to email@hidden
>
--
-Corey O'Connor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden
This email sent to email@hidden