[Openmcl-devel] Initializing an Obj-C class on the main thread?
pbpublist at comcast.net
Mon Aug 14 20:54:25 EDT 2006
I'm attempting to create a new QTMovie object but don't know quite
how to accomplish it. I attempted to create it with:
(ccl::send (ccl::@class "QTMovie") "movie")
and get an Obj-C error: QTMovie class must be initialized on the main
thread. So next I try:
(ccl::send (ccl::@class "QTMovie")
:perform-selector-on-main-thread (ccl::@selector "movie")
And get the same error. So what is the correct way to accomplish this?
More information about the Openmcl-devel