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: InitializeQTML() locking up




On Dec 21, 2004, at 10:53 AM, Greg Chapman wrote:

Are you calling InitializeQTML from your DLLEntryPoint (aka. DLLMain)?
You should not (this is a known limitation on Windows; you can't load
DLLs from a DLLEntryPoint without risking deadlock, and InitializeQTML
loads several DLLs).

Greg

I am NOT calling it from the DLL Main, but rather from a function called from the DLL Main.
This was working when I called InitializeQTML() from my main application, outside of the DLL. But, in this case this is a plugin for loading and saving QuickTime, so I want as part of the DLL, and the main application doesn't know anything about it.



On Dec 21, 2004, at 10:17 AM, Ken Baer wrote:

I have some QuickTime code that has been working well on the PC
version of our application.  I have moved it from a larger DLL to a
small DLL plugin.  Now when I call InitiizeQTML(), it never returns
from it.  No error, it just doesn't come back.  I am including
Movies.h, QuickTimeComponents.h, and QTML.h, and have installed the
latest library and includes.  I am linking the latest .lib.  I would
prefer not to use the QuickTime DLL, because we don't want to have to
ship it with our app.

Any ideas?  I can't figure out what it's doing.


-Ken Baer. Hash, Inc. email@hidden

_______________________________________________
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: 
 >InitializeQTML() locking up (From: Ken Baer <email@hidden>)
 >Re: InitializeQTML() locking up (From: Greg Chapman <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.