Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8338253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:32:06+00:00 2026-06-09T04:32:06+00:00

I am currently designing an app with the Metro app framework which includes a

  • 0

I am currently designing an app with the Metro app framework which includes a live video chat feature. I am using the GrayscaleTransform MFT included in the MediaCapture sample (at this point simply copy-and-pasted from the sample).

However, when I try to add the grayscale effect to the camera’s image stream, I get a “class not registered” fatal error. I understand this is because I must ‘activate and register’ the media extension, but I do not know how. How do I register the media extension?

All help is greatly appreciated and I always accept an answer!

UPDATE: My GrayScale IDL file is shown below:

import "Windows.Media.idl";

#include <sdkddkver.h>

namespace GrayscaleTransform
{
[version(NTDDI_WIN8), activatable(NTDDI_WIN8)]
runtimeclass GrayscaleEffect 
{
    [default] interface Windows.Media.IMediaExtension;
}
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:32:07+00:00Added an answer on June 9, 2026 at 4:32 am

    The media extension is specified as an <Extension> (or extensibility point) in the package manifest’s Extensions section, but you need to insert it manually (i.e. open the appxmanifest as code instead of double-clicking.)

    Using the GrayscaleTransform example, in the Media extensions sample, open the MediaExtensions project’s package.appxmanifest (as code) and look for this in the <Extensions> section:

    <Extension Category="windows.activatableClass.inProcessServer">
        <InProcessServer>
            <Path>GrayscaleTransform.dll</Path>
            <ActivatableClass ActivatableClassId="GrayscaleTransform.GrayscaleEffect" ThreadingModel="both" />
        </InProcessServer>
    </Extension>
    

    There’s a bit more general info on extensions in App contracts and extensions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently designing a smart client app (WPF) which needs to operate in an
We have developed a mobile app development toolkit which currently allows graphical designing of
I'm currently designing an app that calls for dynamically creating objects and then displaying
I'm currently designing an app that pulls map data from a service and renders
I'm currently designing a web application using php, javascript, and MySQL. I'm considering two
i am currently designing a ebook reader app as my project, i am having
I am designing a duplex channel wcf service using a custom binding. Currently, when
I am designing an app in xml android. I have been using lots of
I'm currently designing an app and all the content is nearly finished. However, I
In the app I'm currently designing I have a MKMapView with overlays on it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.