Problem Solved

I am trying to build the MFT_Grayscale sample project. I simply copied the project from the SDK tree into my personal code development tree and made no changes to the code. It compiles fine however when I try to register the built dll with regsvr32.exe I get the following error message:

The module "C:\code32\vista\MFT_Grayscale...\MFT_Grayscale.dll" was loaded but the call to DllRegisterServer failed with error code 0x80070005.

I am using Vista Beta 2 and Vista SDK beta 2 with Visual Studio 2005.

Does anyone have any suggestions?

Thanks,
Mark

[598 byte] By [MarkKaplan] at [2008-2-7]
# 1
I was able to fix the problem. I turned off UAC (User Account Control) and it now registers fine.
MarkKaplan at 2007-9-10 > top of Msdn Tech,Audio and Video Development,Media Foundation Development...
# 2

more easy way - set "Run as Administrator" property of regsvr32.exe

Tony1972 at 2007-9-10 > top of Msdn Tech,Audio and Video Development,Media Foundation Development...