Click here to Skip to main content
15,906,766 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionprocess synchronisation Pin
hrishiS22-Dec-08 21:18
hrishiS22-Dec-08 21:18 
QuestionRe: process synchronisation Pin
CPallini23-Dec-08 10:27
mveCPallini23-Dec-08 10:27 
AnswerRe: process synchronisation Pin
hrishiS23-Dec-08 17:08
hrishiS23-Dec-08 17:08 
GeneralRe: process synchronisation Pin
hrishiS23-Dec-08 17:18
hrishiS23-Dec-08 17:18 
GeneralRe: process synchronisation Pin
CPallini23-Dec-08 21:13
mveCPallini23-Dec-08 21:13 
GeneralRe: process synchronisation Pin
hrishiS23-Dec-08 22:16
hrishiS23-Dec-08 22:16 
GeneralRe: process synchronisation Pin
hrishiS23-Dec-08 22:24
hrishiS23-Dec-08 22:24 
QuestionProblem with RegQueryValueEx Pin
SRKSHOME22-Dec-08 20:17
SRKSHOME22-Dec-08 20:17 
Hi,
I have a problem with RegQueryValueEx.I am trying to remove the excel addin entry present in the registry. In the below key(office 2007) OPEN,OPEN1,OPEN2 ..and so on will contain the installed addin path on your excel.
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Options

Eventhough there is a value against OPEN1,OPEN2, RegQueryValueEx is not retrieving value.But return value of RegQueryValueEx is 0 which means that processed successfully.

CString str;
int count = arAddin.GetSize();//CStringArray contain OPEN,OPEN1,OPEN2
for(int nIndex=0;nIndex<count;nIndex++)
{
  str = arAddin.GetAt(nIndex);
			
if(RegQueryValueEx(hKey,(LPCTSTR)str,NULL,&dwType,buff,&dwSize)==ERROR_SUCCESS)
{
AfxMessageBox((LPCTSTR)buff);
}				


Please help me.
AnswerRe: Problem with RegQueryValueEx Pin
CPallini22-Dec-08 21:24
mveCPallini22-Dec-08 21:24 
GeneralRe: Problem with RegQueryValueEx Pin
SRKSHOME22-Dec-08 22:37
SRKSHOME22-Dec-08 22:37 
GeneralRe: Problem with RegQueryValueEx Pin
CPallini22-Dec-08 23:28
mveCPallini22-Dec-08 23:28 
AnswerRe: Problem with RegQueryValueEx Pin
Graham Bradshaw22-Dec-08 23:12
Graham Bradshaw22-Dec-08 23:12 
Questionmemset? Pin
dec8222-Dec-08 20:17
dec8222-Dec-08 20:17 
AnswerRe: memset? Pin
Paul M Watt22-Dec-08 20:46
mentorPaul M Watt22-Dec-08 20:46 
AnswerRe: memset? Pin
CPallini22-Dec-08 21:09
mveCPallini22-Dec-08 21:09 
AnswerRe: memset? Pin
toxcct22-Dec-08 21:37
toxcct22-Dec-08 21:37 
QuestionException in Multithreading.............. Pin
shaina223122-Dec-08 19:52
shaina223122-Dec-08 19:52 
QuestionRe: Exception in Multithreading.............. Pin
CPallini22-Dec-08 21:07
mveCPallini22-Dec-08 21:07 
QuestionFSCTL_GET_VOLUME_BITMAP Pin
john563222-Dec-08 19:10
john563222-Dec-08 19:10 
QuestionDrag and Drop between tree controls (Very Urgent........) Pin
AnithaSubramani22-Dec-08 18:32
AnithaSubramani22-Dec-08 18:32 
AnswerRe: Drag and Drop between tree controls (Very Urgent........) Pin
Hamid_RT22-Dec-08 19:09
Hamid_RT22-Dec-08 19:09 
QuestionProgramming time for algorithm? Anyone help me................. Pin
thuyphuongid22-Dec-08 16:46
thuyphuongid22-Dec-08 16:46 
AnswerRe: Programming time for algorithm? Anyone help me................. Pin
L. Madhavan22-Dec-08 19:41
L. Madhavan22-Dec-08 19:41 
Question[VC++6.0]Unhandled exception in **.exe, 0xc0000005:Access Vialation Pin
kaviniswell22-Dec-08 16:30
kaviniswell22-Dec-08 16:30 
AnswerRe: [VC++6.0]Unhandled exception in **.exe, 0xc0000005:Access Vialation Pin
Garth J Lancaster22-Dec-08 18:00
professionalGarth J Lancaster22-Dec-08 18:00 

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.