Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: How to develop CSP in Vista

HTVi
TV Discussion Newsgroups

How to develop CSP in Vista
6kyAngel 11/21/2008 2:50:00 AM
Hi,

I'm trying to develop CSP program for Vista platform.

Previously, I have the CSP code that already been tested and use for WIn98
and 2000.

I managed to compile and test the code in XP.What I did was:
1-download the cspdk and copy the cspdk.h into my current project.
2-replace the advapi32.dll in c:\windows\system32 directory.
3-register the dll in cmd prompt: - regsvr32
3-test the program.

But, when i want to test it in vista, i did the same thing, but i faced
problem at each of the step that i've taken.

1-replace the advapi32.dll
-unable to replace the advapi32.dll in vista-windows not allowed.
2-register the dll
- got error msg: "the module abc.csp was loaded but the call to
DllRegisterServer failed with error 0x80090006.

i look from the internet and i find out that it is because the UAC in
Vista. So, I've tried a few step, but still not working.

a) create a manifest file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">
<ms_asmv2:security>
<ms_asmv2:requestedPrivileges>
<ms_asmv2:requestedExecutionLevel level="asInvoker" />
</ms_asmv2:requestedExecutionLevel>
</ms_asmv2:requestedPrivileges>
</ms_asmv2:security>
</ms_asmv2:trustInfo>
</assembly>

b) run the cmd -> run as administrator

c) run vs2005 using administrator mode

but all returned error

i just finally run the test program in cmd prompt: but i got the error-8009006

do u have any idea on how to help me coz i'm stuck at this point.

thank you


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen