I currently done with my programming for the CSP. The problem that I’m having is, I have the different result whenever I run the CSP program. FYI, currently I have 2 type of CSP dll, a.dll already been signed by Microsoft where b.dll is the one that I develop(still in the development stage).
Run in Vista Ultimate/Win XP SP3.
Replace the latest advapi32.dll(from one of the sources from Internet)
1. Place the a.dll and testcsp.exe to c:\windows\system32
2. Run command : regsvr32 a.dll à result FAIL
3. Run command : cspSign c a.dll à result PASS
4. Run command : regsvr32 a.dll à result FAIL
5. Run testcsp.exe à result PASS
Question : Is the result PASS because the a.dll already been sent to Microsoft for signing?
Replace the latest advapi32.dll(from one of the sources from Internet)
1. Place the b.dll and testcsp.exe to c:\windows\system32
2. Run command : regsvr32 b.dll à result FAIL
3. Run command : cspSign c b.dll à result PASS
4. Run command : regsvr32 b.dll à result FAIL
5. Run testcsp.exe à result FAIL
Question : Is the result FAIL because the b.dll is not been signing?
Use the original advapi32.dll
1. Place the b.dll and testcsp.exe to c:\windows\system32
2. Run command : regsvr32 b.dll à result FAIL
3. Run command : cspSign c b.dll à result PASS
4. Run command : regsvr32 b.dll à result FAIL
5. Run testcsp.exe à result FAIL
Question : Is the result FAIL because I didn’t replace the advapi32.dll?
Run XP (the same environment during the development of a.dll)
1. Place the b.dll and testcsp.exe to c:\windows\system32
2. Run command : regsvr32 b.dll à result FAIL
3. Run command : cspSign c b.dll à result PASS
4. Run command : regsvr32 b.dll à result FAIL
5. Run testcsp.exe à result PASS
Question : Why both of the b.dll is PASS?
FYI, a.dll was compiled using Visual 6.0 and b.dll was compiled using Visual Studio 2005. Is the compiler cause the different result of during the testing?
Thank You.