Posted By: izyani | Dec 14th, 2008 @ 10:54 PM
page 1 of 1
Comments: 3 | Views: 1327
 
 
 
Normal 0 false false false EN-US X-NONE X-NONE
 
 
/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}







I'm currently done with the source code.

 

1-develop the csp source code

2-change the advapi32(based on OS and Service Pack)

3-replace the advapi32 in c:\windows\system32 and c:\windows\system32\dllcache

4-run cmd : regsvr32 xxxx.dll

5-test the program

 

But, in my case, whenever I try to run cmd : regsvr32 xxxx.dll, I will always get the error msg :

DllRegisterServer in xxxx.dll failed. Return code was: 0x80090006.


To avoid the error, i need to run cspSign c xxxx.dll -> then only the error msg not coming out.

 

FYI, I replace all the value for advapi32.dll from the website (change the offset).

I replace the advapi32.dll by following the step:

1-For WIN XP SP3, I replace the advapi32.dll by running in Safe Mode, rename the current advapi32.dll to advapi32.bak, paste the new file there.

 

Is there anything that I forgot?

 

ZippyV
ZippyV
Fired Up
From the website I showed you, you don't register your csp by using regsvr, you have to certify your dll at Microsoft and last you don't touch any system file.
ZippyV
ZippyV
Fired Up
For debugging you can use the debug signature and then you register your dll in the registry:

http://msdn.microsoft.com/en-us/library/aa387481(VS.85).aspx
page 1 of 1
Comments: 3 | Views: 1327
Microsoft Communities