Click here to Skip to main content
15,914,820 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Passing std::endl to stream class Pin
Michael Dunn5-Jun-05 18:18
sitebuilderMichael Dunn5-Jun-05 18:18 
GeneralRe: Passing std::endl to stream class Pin
Christian Graus5-Jun-05 18:30
protectorChristian Graus5-Jun-05 18:30 
GeneralCreate an ActiveX Control in an ActiveXControl during runtime Pin
tom123933531-May-05 9:51
tom123933531-May-05 9:51 
GeneralDamaged ActiveX Pin
tonalites31-May-05 2:19
tonalites31-May-05 2:19 
Generaloledb in multithread Pin
HongJu.Cao31-May-05 0:36
HongJu.Cao31-May-05 0:36 
GeneralWeb Service Exceptions at run time Pin
skrishnasarma29-May-05 22:28
skrishnasarma29-May-05 22:28 
GeneralAlternate for BEGIN_DISPATCH_MESSAGE in wtl Pin
saravananvv24-May-05 7:59
saravananvv24-May-05 7:59 
QuestionHow to convet GetIDispatch(FALSE) to atl Pin
saravananvv24-May-05 1:05
saravananvv24-May-05 1:05 
Hi,
I need to convert the mfc code to atl for connecting to the windows shell. Please provide me some ideas or sample coding regarding this. I've enclosed the MFC coding below.

LPCONNECTIONPOINTCONTAINER pContainer;
LPCONNECTIONPOINT pXConnection = NULL;
DWORD dwCookie = 0;
CoInitialize(NULL);
if(m_pInterface == 0)
{
if(m_pInterface.CreateInstance(__uuidof(SHDocVw::ShellWindows)) == S_OK)
{
if ((m_pInterface != NULL) && SUCCEEDED(m_pInterface->QueryInterface (IID_IConnectionPointContainer,(LPVOID*)&pContainer)))
{
if (SUCCEEDED( pContainer->FindConnectionPoint (__uuidof(SHDocVw::DShellWindowsEvents, &pXConnection)))
{
ASSERT(pXConnection != NULL);
pXConnection->Advise( GetIDispatch(FALSE), &dwCookie);
pXConnection->Release();
}

pContainer->Release();
}
}
}



Regards
saravanan
GeneralOutgoing IDispatch interface Pin
preethamr23-May-05 22:12
preethamr23-May-05 22:12 
QuestionHow to Connect to database in ntservice Pin
Yu_Matrix22-May-05 22:22
Yu_Matrix22-May-05 22:22 
AnswerRe: How to Connect to database in ntservice Pin
toxcct23-May-05 3:43
toxcct23-May-05 3:43 
AnswerRe: How to Connect to database in ntservice Pin
Sergey Solozhentsev30-May-05 5:30
Sergey Solozhentsev30-May-05 5:30 
Generalabout outlook addin Pin
Member 198215421-May-05 0:53
Member 198215421-May-05 0:53 
GeneralHELP!!! using DISTINCT keyword causes error 0x80040E21 Pin
oyinbogo19-May-05 11:43
oyinbogo19-May-05 11:43 
GeneralError registering window class Pin
Fantmx19-May-05 10:15
Fantmx19-May-05 10:15 
GeneralRe: Error registering window class Pin
Michael Dunn19-May-05 20:17
sitebuilderMichael Dunn19-May-05 20:17 
GeneralRe: Error registering window class Pin
Fantmx20-May-05 3:05
Fantmx20-May-05 3:05 
GeneralRe: Error registering window class Pin
Michael Dunn20-May-05 9:20
sitebuilderMichael Dunn20-May-05 9:20 
GeneralRe: Error registering window class Pin
Fantmx20-May-05 10:19
Fantmx20-May-05 10:19 
GeneralRe: Error registering window class Pin
Michael Dunn20-May-05 12:14
sitebuilderMichael Dunn20-May-05 12:14 
GeneralRe: Error registering window class Pin
Fantmx3-Jun-05 8:48
Fantmx3-Jun-05 8:48 
Generalputting custom icons Pin
Anonymous19-May-05 3:48
Anonymous19-May-05 3:48 
QuestionSOS!Why I could not call the function from a dll? Pin
kiluar18-May-05 22:41
kiluar18-May-05 22:41 
AnswerRe: SOS!Why I could not call the function from a dll? Pin
Sergey Solozhentsev30-May-05 5:25
Sergey Solozhentsev30-May-05 5:25 
GeneralATL VC 7.xxx Pin
oscarferreira118-May-05 11:51
oscarferreira118-May-05 11:51 

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.