Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
O

Oguz Mazlum

@Oguz Mazlum
About
Posts
7
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MCE SDK 2005 problem
    O Oguz Mazlum

    My friend :) The sample code I wrote and the sample came with the SDK is not executed by MCE. It's an windowsform based app that can read status information about the MCE. My example is not integrated in to MCE, it's running beside MCE on the background. To read status information about MCE i had to register the MSASstate COM sink. This component delivers the mediastatus about the MCE. I have checked the registery after the (regasm.exe MSASState.dll /codebase) and found the following registry items. [HKEY_CLASSES_ROOT\CLSID\{380AA9F1-5047-40D0-8BE9-18AB489CA469}] @="MSASState.MediaStatusSink" [HKEY_CLASSES_ROOT\CLSID\{380AA9F1-5047-40D0-8BE9-18AB489CA469}\Implemented Categories] [HKEY_CLASSES_ROOT\CLSID\{380AA9F1-5047-40D0-8BE9-18AB489CA469}\Implemented Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}] [HKEY_CLASSES_ROOT\CLSID\{380AA9F1-5047-40D0-8BE9-18AB489CA469}\InprocServer32] @="mscoree.dll" "ThreadingModel"="Both" "Class"="MSASState.MediaStatusSink" "Assembly"="MSASState, Version=1.0.1740.26563, Culture=neutral, PublicKeyToken=a097a53b6b26c493" "RuntimeVersion"="v1.0.3705" "CodeBase"="file:///C:/WINDOWS/system32/MSASState.DLL" [HKEY_CLASSES_ROOT\CLSID\{380AA9F1-5047-40D0-8BE9-18AB489CA469}\InprocServer32\1.0.1740.26563] "Class"="MSASState.MediaStatusSink" "Assembly"="MSASState, Version=1.0.1740.26563, Culture=neutral, PublicKeyToken=a097a53b6b26c493" "RuntimeVersion"="v1.0.3705" "CodeBase"="file:///C:/WINDOWS/system32/MSASState.DLL" [HKEY_CLASSES_ROOT\CLSID\{380AA9F1-5047-40D0-8BE9-18AB489CA469}\ProgId] @="MSASState.MediaStatusSink" If i'm correct the settings are correct according the SDK. I have three framework versions on my MCE. v1.0/v1.1/v2.0Beta i have registered with all versions the MSASState.dll and its still not working. The problem is that the MSASState.dll does not deliver any information about the MCE. Where can i see that the MSASState.dll is running? I can't find it in the Component Services.

    C# help com tutorial question

  • MCE SDK 2005 problem
    O Oguz Mazlum

    I didnt get any exception, the code gives no errors. I wrote i managed code. I read in the SDK help file that i need to register the MSASState.dll with [regasm.exe MSASState.dll /codebase] and placed the following registry [HKEY_CLASSES_ROOT\CLSID\{380AA9F1-5047-40D0-8BE9-18AB489CA469} \Implemented Categories\{FCB0C2A3-9747-4c95-9d02-820AFEDEF13F}] @="Media Status Sink" This was needed to read mediastate information about the Media Center. I wrote a simple code that checks if the MCE is active or not active. I have loaded the MediaState.dll in to my app. .... MediaState mediaState = new MediaState(); // hook up events mediaState.MediaCenter.Started += new EventHandler(OnMediaCenterStarted); mediaState.MediaCenter.VolumeChanged += new EventHandler(MediaCenter_VolumeChanged); // Start receiving media state information mediaState.Connect(); if (mediaState.MediaCenter.Active) { label8.Text = "Media Center is Active"; } else { label8.Text = "Media Center is NOT Active"; } .... I'm getting that the status is NOT active. I have tried the mediastatedisplay example that came with the MCE SDk 2005 on my MCE and that also cant read any information about MCE while it is running. I have no idea what could be wrong.

    C# help com tutorial question

  • MCE SDK 2005 problem
    O Oguz Mazlum

    Hi, I was reading the MCE SDK 2005, there is an example of MediaState, I’ve compiled it to test it on my MCE. I had to add the needed register component that i found on the SDK help file. When i run the app, it does not get any information from the MediaCenter. What could be wrong? I think the COM object is not working properly because i cant read any information of MCE. Does anyone have a clue? Greetings.

    C# help com tutorial question

  • Darwin vs Cyclists
    O Oguz Mazlum

    You have to check this out, and watch the movie http://www.harunyahya.com/m\_video\_collapse.php

    The Lounge html visual-studio com tutorial announcement

  • Download CD's on the NET
    O Oguz Mazlum

    What kind of CD's are we talking about?

    The Lounge question

  • MSN Messenger 6 Beta
    O Oguz Mazlum

    i'm using it too, it works just fine, like the photo thing :) no problems, and dont forget the cool emoticon.

    The Lounge mobile beta-testing json help question

  • Wow
    O Oguz Mazlum

    Hi, I have olmost have the same configuration, dual Xeon 3.06GHz 2GB RAM, 2 x 36,7 15k3 Seagates, 2 x Samsung 191T TFT screens and the rest, i use it for developping, photoshopping en webdesigning, i actually do everything with this pc, music, dvd, work.. It is very powerfull, it cost's, but hey if you are a freak you have to act like one :)

    The Lounge
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups