Gene Chang
Guest
|
Posted:
Wed Dec 28, 2005 1:30 am Post subject:
Re: UI background plugin for Windows Media Player Mobile |
|
|
Never mind. Figured out that I forgot to change the default setting
to Single threading from Apartment Threading.
Gene
On Thu, 22 Dec 2005 13:57:21 -0500, Gene Chang
<gchang_nospam_@stonestreetone.com> wrote:
| Quote: | I am trying to create a UI background plugin for WMP 10 Mobile.
I have followed the directions in the WMP 10 SDK about how to use the
Windows Media Player wizard in VS2003 and modifying the code so that I
can create an EVC4.0 project. My plugin compiles, loads, and
registers onto my device. When I start WMP, I see using logging that
I get a DLL_PROCESS_ATTACH immediately followed by a
DLL_PROCESS_DETACH.
I have logging in other calls and I don't see WMP mobile calling any
of the other functions. Is there something I'm missing? I don't
think I should be getting a DLL_PROCESS_DETACH right away.
I want to be able to monitor commands coming from an external
application to control WMP through the plugin. Is the best way to do
that to create a thread that monitors events and act on them when
they're signaled?
Thanks.
|
|
|