Results 1 to 10 of 10

Thread: WMP_EXE.exe

  1. #1
    Newbie
    Join Date
    May 2003
    Location
    Germany
    Posts
    29

    WMP_EXE.exe

    Technical Question: What does WMP_EXE.exe do?

    If it's just an extra Launcher for WMP9 - why are the WMP-Calls not done inside ME?


    Greets
    Marcus

  2. #2
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    I would assume they broke the app into sections as a "cheap" form of multithreading.
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  3. #3
    Newbie
    Join Date
    May 2003
    Location
    Germany
    Posts
    29
    Maybe - but this would make no sense - WMP9 runs threaded, even if directly put in as an ocx or just instantiiated via CreateObject()

  4. #4
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Quote Originally Posted by Fireball
    Maybe - but this would make no sense - WMP9 runs threaded, even if directly put in as an ocx or just instantiiated via CreateObject()
    That's not the point, the other code, including the database application, doesn't.

    Of course I may be wrong on why they did it, I am just guessing.

    It could also have been done because the separated the apps into sections for ease of programming, ie got the media player section running good, then did the same with the database. Keeping the code separate and cleaner.
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  5. #5
    dob
    dob is offline
    Newbie
    Join Date
    Oct 2003
    Posts
    9

    embedding windows media player question

    anyone there have a good example of embedding windows media player .. in a win32 app?

  6. #6
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Quote Originally Posted by dob
    anyone there have a good example of embedding windows media player .. in a win32 app?

    what language ?
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  7. #7
    dob
    dob is offline
    Newbie
    Join Date
    Oct 2003
    Posts
    9
    visual c++

    I have an idea to build small framework with plugin architecture with some basic plugins for winamp, wmp, some basic visulization helper classes. I mean that some people can code it and I think here we will find many beta tester so it will be clear and so on ...

  8. #8
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Quote Originally Posted by dob
    visual c++
    Then you're in luck, there are some good examples in the wmp9 sdk.
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  9. #9
    Maximum Bitrate phat_bastard's Avatar
    Join Date
    Sep 2002
    Location
    St.Louis, MO
    Posts
    549
    Quote Originally Posted by frodobaggins
    I would assume they broke the app into sections as a "cheap" form of multithreading.
    Yes, it is implemented in a wrapper .exe so it runs in it's own process. WMP as an in-process control / object slows down everything in the main app because the vb runtime does not create or properly marshall separate threads for controls and classes (even though it's supposed to). Doing an activex exe wrapper allows us to do things in separate threads without using the createthread api. If you've ever done this in vb you know it's not exactly pretty. The ActiveX exe allows us to pass objects, arrays, structures, whatever we want back and forth between the two applications, which is a huge advantage over threading something using CreateThread. Also, it is safe to run in the VB IDE, which by itself is not threadsafe.

    We'd love to know of more elegant ways to do this - if anyone has suggestions.
    '01 Chevy Xtreme Stepside (pics)

    FIC K7MNF-64 / Athlon 3200 | 256 DDR | 120 GB 7.2k WD
    WinXP Pro | MediaEngine | 12.1 VGA TFT Touch|Creative CIMR-100
    350w Vector | 320w mATX PS | Hellroaring BIC95150 | ButterflySDC

  10. #10
    Newbie
    Join Date
    May 2003
    Location
    Germany
    Posts
    29
    phat_bastard: thx for your reply - I didn't recognize that it's an ActiveX exe.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •