I have a small simple Carbon program, and when you go to the file menu and select open it brings up an NavChooseObject() dialog. After the user selects the object I want to printf() the object filename.
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">void Open_Dialog()
{
NavDialogOptions dialogOptions;
NavReplyRecord Reply;
AEDescList Filename;
NavGetDefaultDialogOptions( &dialogOptions );
NavChooseObject ( NULL, &Reply, &dialogOptions, NULL, NULL, NULL );
Filename = Reply.selection;
}</pre><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Now I know I have to use AEGetDescData(), but I don't know how.... can anyone guide my please.