Click here to Skip to main content
15,897,518 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Getting to Parent frame window from view Pin
Michael Dunn5-Dec-08 15:38
sitebuilderMichael Dunn5-Dec-08 15:38 
GeneralRe: Getting to Parent frame window from view Pin
rajas7-Dec-08 6:40
rajas7-Dec-08 6:40 
GeneralRe: Getting to Parent frame window from view Pin
Michael Dunn7-Dec-08 20:34
sitebuilderMichael Dunn7-Dec-08 20:34 
QuestionChanges in ATL Headers to make it DEP compatible on Win Vista Pin
dolly25-Nov-08 1:38
dolly25-Nov-08 1:38 
AnswerRe: Changes in ATL Headers to make it DEP compatible on Win Vista Pin
Jörgen Sigvardsson5-Dec-08 23:30
Jörgen Sigvardsson5-Dec-08 23:30 
QuestionGood oppotunity! ! ! Pin
pandapam24-Nov-08 15:50
pandapam24-Nov-08 15:50 
AnswerRe: Good oppotunity! ! ! Pin
King_jinjing2-Dec-08 23:25
King_jinjing2-Dec-08 23:25 
QuestionHow to load BHO DLL only with Window Explorer [modified] Pin
sweetier20-Nov-08 2:14
sweetier20-Nov-08 2:14 
Hi, all..

I have developed BHO with ATL.

I want to make my BHO work only with Window Explorer.

however, my source code is not compiled.

help me.. what's problem in my code...

source codes are as followed..

extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
 hInstance;
 if (dwReason == DLL_PROCESS_ATTACH)
 {
  TCHAR Loader[MAX_PATH]; 

  GetModuleFileName( NULL, Loader, MAX_PATH); 

  DisableThreadLibraryCalls(hInstance);

  if ( lstrcmpi( PathFindFileName(Loader), _T("explore.exe"))) {
   _AtlModule.DllMain(dwReason, lpReserved);
   return FALSE; 
  }
 }

 return _AtlModule.DllMain(dwReason, lpReserved);  
}


and error message is as followed.

Error 1 error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry. 


I cannot accept this error message because i am an administrator user on Windows XP machine.

modified on Thursday, November 20, 2008 7:44 PM

AnswerRe: How to load BHO DLL only with Window Explorer Pin
cdpc25-Nov-08 21:05
cdpc25-Nov-08 21:05 
GeneralRe: How to load BHO DLL only with Window Explorer Pin
rhmitul5-Jan-12 4:58
rhmitul5-Jan-12 4:58 
AnswerRe: How to load BHO DLL only with Window Explorer Pin
Michael Dunn5-Dec-08 15:43
sitebuilderMichael Dunn5-Dec-08 15:43 
Questioncalling c# com from c++ using ATL Pin
Liat Even17-Nov-08 3:36
Liat Even17-Nov-08 3:36 
AnswerRe: calling c# com from c++ using ATL Pin
Stuart Dootson17-Nov-08 6:11
professionalStuart Dootson17-Nov-08 6:11 
GeneralRe: calling c# com from c++ using ATL Pin
Liat Even17-Nov-08 8:04
Liat Even17-Nov-08 8:04 
GeneralRe: calling c# com from c++ using ATL Pin
led mike17-Nov-08 9:23
led mike17-Nov-08 9:23 
GeneralRe: calling c# com from c++ using ATL Pin
Stuart Dootson17-Nov-08 12:09
professionalStuart Dootson17-Nov-08 12:09 
QuestionProblem in using _int64 as the key of STL hash_map : error C2064: term does not evaluate to a function Pin
abdulhameedutmanzai15-Nov-08 7:05
abdulhameedutmanzai15-Nov-08 7:05 
AnswerRe: Problem in using _int64 as the key of STL hash_map : error C2064: term does not evaluate to a function Pin
Stuart Dootson17-Nov-08 0:04
professionalStuart Dootson17-Nov-08 0:04 
QuestionHow to change background color fot an IE toolbar? Pin
ritz123413-Nov-08 21:46
ritz123413-Nov-08 21:46 
QuestionHow to retrieve document content or whole document on DocumentOpen Event Pin
PatilVijay9-Nov-08 19:39
PatilVijay9-Nov-08 19:39 
QuestionIn ATL, how to sink web event with IDispEventImpl?? Pin
King_jinjing7-Nov-08 3:12
King_jinjing7-Nov-08 3:12 
AnswerRe: In ATL, how to sink web event with IDispEventImpl?? Pin
Stuart Dootson7-Nov-08 5:47
professionalStuart Dootson7-Nov-08 5:47 
GeneralRe: In ATL, how to sink web event with IDispEventImpl?? Pin
King_jinjing7-Nov-08 6:04
King_jinjing7-Nov-08 6:04 
GeneralRe: In ATL, how to sink web event with IDispEventImpl?? Pin
Stuart Dootson7-Nov-08 8:50
professionalStuart Dootson7-Nov-08 8:50 
GeneralRe: In ATL, how to sink web event with IDispEventImpl?? Pin
King_jinjing7-Nov-08 18:05
King_jinjing7-Nov-08 18:05 

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.