Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Technical Q&A QA1147 - Incorrect?



 > Did you mean to say that I can store the settings in a file and then bundle it with my application? 
 
Yes, it's like a BLOB (binary large object) that you could even store at a database. There should be functions at QuickTime to store/retrieve (aka serialize/deserialize) atom containers. The new ActiveX control of QT7 even has functions to load/store such info (usually returned as a classic atom container structure) as XML (not sure if the XML functionality has been put in the general QuickTime API or just in that control's support libraries).
 
Users can have a separate GUI to select the settings and store them to a file that is then saved at a place where the no-GUI app/service can get them. When users want to change the settings they'll run the GUI again (at the same or other remote machine) and store the file at the no-GUI app's machine or at some network location from where the no-GUI can access them. The settings GUI can even have a "do export test" checkbox to actually do an export of a small sample file to test the settings after the export dialog returns, apart from using the export dialog just to get the settings and store them.
 
----------------
George Birbilis (email@hidden)
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
* QuickTime, QTVR, ActiveX, VCL, .NET
http://www.kagi.com/birbilis
* Robotics
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup
If yes, that's lovely and I would like to know how, please. 
 
If No, then I have this problem:
The application is meant to be installed and executed on machines where there is no user interaction at all. So I cannot assume that someone will run this separate application to record the settings. Also evertytime the application is re-started someone will have to select the settings which may not be possible/acceptable to the user.
 
Thanks again.
 
cheers,
anita.s
 
 
 Thanks also for your workaround suggestion, but I cannot use it as my
application is supposed to be exposed as an API from a dll with no user
interaction/GUI at all. If you
> know
> any other workaround where I do not have to invoke the Export Dialog at
all, please do let me know.

you can invoke the export dialog from a normal application and record the
export settings, then use them by the no-GUI library (making the dialog not
show up, but just using the recorded settings and maybe editing them on the
fly by using QTFindChildByID as shown at
http://developer.apple.com/qa/qa2001/qa1147.html )
 
 



avast! Antivirus: Outbound message clean.

Virus Database (VPS): 0623-1, 06/06/2006
Tested on: 8/6/2006 12:22:17 ìì
avast! - copyright (c) 1988-2006 ALWIL Software.


 _______________________________________________
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

References: 
 >RE: Technical Q&A QA1147 - Incorrect? (From: "Anita S" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.