How to register GrayScaleTransform?

Category: windows metro apps hardware

Question

weiji.zheng on Thu, 17 May 2012 06:20:14


I am a newer for MFT and now I am investigating Metro Style Device App for Webcam. There always popup one dialog saying "This operation is only valid in the context of an AppContainer". please give me some advice about how to register this kind of COM interface. Thanks in advance.

Replies

Eric Hanson-MSFT on Thu, 17 May 2012 14:22:02


Could you post a few lines of code.

Best Wishes - Eric

weiji.zheng on Fri, 18 May 2012 00:55:56


Running the following command in BIN directory:

>RegSvr32 GrayScaleTransform.dll

There always popup one dialog saying "This operation is only valid in the context of an AppContainer".

Thanks so much.

Eric Hanson-MSFT on Wed, 23 May 2012 20:53:34


This thread should be helpful:

http://social.msdn.microsoft.com/Forums/en-US/winappswithnativecode/thread/9621e528-2eab-4685-8223-dd04a872ffc3