Developing CSP in XP SP3

I

Izyani

Hi,

I am currently developing the CSP program in Win XP SP3. I found from the
website that i need to replace the offset value for advapi32.dll file.

advapi32.dll - V 5.1.2600.5512
- offset 0x175A1 : change 75 to 90
- offset 0x175A2 : change 0C to 90
- offset 0x175A9 : change 0F to 90
- offset 0x175AA : change 84 to E9

after change the advapi32.dll, i replace the current machine.
- restart pc in safe mode option
- rename the advapi32.dll in c:\windows\system32 to advapi32.bak
- copy the new advapi32.dll and paste it to c:\windows\system32
- copy the new advapi32.dll and replace it in c:\windows\system32\dllcache

then i restart my PC. but, i still cannot load my test program. it returned
error 57.

fyi, before i start the development, the pc already installed all the
windows update for win XP SP3. what i did was just un-install all the windows
update for Win SP3, but only a few update cannot be remove at all.

do u have any idea to solve this problem?

thank you.

regards,
izyani
 
I

Izyani

Hi Randem,

I develop the code using Visual Studio 2005. It is not the run-time error.

Actually I used the test program from micorosft-cspdk download and amend a
little bit there.

Previously, when I run this thing, using XP SP2, I'm manage to get it
correct.

But, when I used XP SP3, it fail.
 
I

Izyani

check the latest posting.. i explain it clearly..

for this error, i run th cspSign c xxxx.dll and i an execute the whole
program. But as what as I know, to avoid the signing, i need to replace the
advapi32.dll(which i already done previously).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top