Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bring a button over a bitmap in a dialog Pin
manoharbalu19-Nov-08 18:14
manoharbalu19-Nov-08 18:14 
GeneralRe: Bring a button over a bitmap in a dialog Pin
Naveen19-Nov-08 18:35
Naveen19-Nov-08 18:35 
AnswerRe: Bring a button over a bitmap in a dialog Pin
Hamid_RT19-Nov-08 18:04
Hamid_RT19-Nov-08 18:04 
GeneralRe: Bring a button over a bitmap in a dialog Pin
manoharbalu19-Nov-08 20:15
manoharbalu19-Nov-08 20:15 
GeneralRe: Bring a button over a bitmap in a dialog Pin
Hamid_RT19-Nov-08 20:23
Hamid_RT19-Nov-08 20:23 
GeneralRe: Bring a button over a bitmap in a dialog Pin
Chandrasekharan P19-Nov-08 20:58
Chandrasekharan P19-Nov-08 20:58 
AnswerRe: Bring a button over a bitmap in a dialog Pin
Dhiraj kumar Saini19-Nov-08 18:06
Dhiraj kumar Saini19-Nov-08 18:06 
QuestionQuestion to ask about CSP and Vista Pin
izyani19-Nov-08 16:35
izyani19-Nov-08 16:35 
Advapi32.dll
As what I understand by reading the Microsoft Cryptographic Service Provider Development Kit manual, in order for me to perform signing I need to replace the advapi32.dll in c:\windows\system32 folder.
For Windows 2000, from the manual – I need to rename the current advapi32 to advapi32.bak. Then I expand it the appreciate advapi32.dll for the test platform and replace it in the c:\windows\system32 directory.
For Windows XP and Vista, can I do it the same way/do I also need to replace the advapi32.dll for the purpose to test the signing process?
I try to do it in Vista, but I get a warning message seems that not allowed to modify any files in c:\windows\system32 directory.

UAC in Vista
After I get stuck to replace the advapi32.dll in Vista, one of my colleague told me that it is not necessary to replace the advapi32.dll coz it is only for the purpose to test the signing. So I start to register the dll in Vista. But I got the error msg -the module “mimoscsp.dll” was loaded but the call to DllregisterServer failed with error code 0x800900006-.

I check from the net and I found out that it might be regarding the UAC in Vista. So, I’ve tried to look from net and find out that I need to create a manifest file.

So, my manifest file is like this:


<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">






But I still get the same error.

I already try to run the cmd prompt in Vista-Run as Administrator – but still get the same error.

I try to run VS Studio 2005-Run as Administrator, compile the file, replace to file in c:\windows\system32 – register the dll-> but still get error.

And now I’m stuck. I’m not sure what direction should I take now. Hope you can give opinion about this. Thanks.
QuestionProgramatically doing a file-drop onto an application. Pin
Code-o-mat19-Nov-08 11:55
Code-o-mat19-Nov-08 11:55 
QuestionHow to read CVS Tag of a fille/directory from CPP Program Pin
scamguru19-Nov-08 7:24
scamguru19-Nov-08 7:24 
AnswerRe: How to read CVS Tag of a fille/directory from CPP Program Pin
David Crow19-Nov-08 8:31
David Crow19-Nov-08 8:31 
GeneralRe: How to read CVS Tag of a fille/directory from CPP Program Pin
scamguru19-Nov-08 8:39
scamguru19-Nov-08 8:39 
QuestionRe: How to read CVS Tag of a fille/directory from CPP Program Pin
David Crow19-Nov-08 8:40
David Crow19-Nov-08 8:40 
AnswerRe: How to read CVS Tag of a fille/directory from CPP Program Pin
scamguru19-Nov-08 8:49
scamguru19-Nov-08 8:49 
GeneralRe: How to read CVS Tag of a fille/directory from CPP Program Pin
David Crow19-Nov-08 9:03
David Crow19-Nov-08 9:03 
QuestionCalling a function that accept a refrence to a variable when we don't have a reference to pass.. [SOLVED] Pin
Ahmed Charfeddine19-Nov-08 5:53
Ahmed Charfeddine19-Nov-08 5:53 
AnswerRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
PJ Arends19-Nov-08 6:06
professionalPJ Arends19-Nov-08 6:06 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
led mike19-Nov-08 6:10
led mike19-Nov-08 6:10 
QuestionRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Ahmed Charfeddine19-Nov-08 6:18
Ahmed Charfeddine19-Nov-08 6:18 
AnswerRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
CPallini19-Nov-08 6:34
mveCPallini19-Nov-08 6:34 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Ahmed Charfeddine19-Nov-08 22:23
Ahmed Charfeddine19-Nov-08 22:23 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
CPallini19-Nov-08 22:46
mveCPallini19-Nov-08 22:46 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Ahmed Charfeddine19-Nov-08 23:03
Ahmed Charfeddine19-Nov-08 23:03 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
CPallini19-Nov-08 23:17
mveCPallini19-Nov-08 23:17 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Ahmed Charfeddine19-Nov-08 23:44
Ahmed Charfeddine19-Nov-08 23:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.