Click here to Skip to main content
15,921,577 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visual Studio Workspace loading problem Pin
Stephane Rodriguez.1-Nov-02 10:23
Stephane Rodriguez.1-Nov-02 10:23 
GeneralRe: Visual Studio Workspace loading problem Pin
Wolfram Steinke1-Nov-02 10:59
Wolfram Steinke1-Nov-02 10:59 
GeneralBad Invalidate ... Pin
Maximilien1-Nov-02 9:37
Maximilien1-Nov-02 9:37 
GeneralRe: Bad Invalidate ... Pin
Maximilien7-Nov-02 7:16
Maximilien7-Nov-02 7:16 
GeneralMain window is hiding Pin
Shay Harel1-Nov-02 9:26
Shay Harel1-Nov-02 9:26 
GeneralRe: Main window is hiding Pin
Christian Graus1-Nov-02 9:40
protectorChristian Graus1-Nov-02 9:40 
GeneralSockets which listen... Pin
Paul Oss1-Nov-02 9:25
Paul Oss1-Nov-02 9:25 
GeneralFile Monitor Source Code Pin
Jay21-Nov-02 9:02
Jay21-Nov-02 9:02 
hi I've looked at FileMonitor by franky braem, it looks good but when i compile it i get an error message... and it debugs on the line

HRESULT hRes = pUnkCP->QueryInterface IID_IConnectionPointContainer, (void**)&pCPC);

thats in the atlbase header file, which is

ATLINLINE ATLAPI AtlAdvise(IUnknown* pUnkCP, IUnknown* pUnk, const IID& iid, LPDWORD pdw)<br />
{<br />
	CComPtr<IConnectionPointContainer> pCPC;<br />
	CComPtr<IConnectionPoint> pCP;<br />
	HRESULT hRes = pUnkCP->QueryInterface IID_IConnectionPointContainer, (void**)&pCPC);<br />
	if (SUCCEEDED(hRes))<br />
		hRes = pCPC->FindConnectionPoint(iid, &pCP);<br />
	if (SUCCEEDED(hRes))<br />
		hRes = pCP->Advise(pUnk, pdw);<br />
	return hRes;<br />
}


Does anyone know why this is happening? do i have to set the project up differently as it is using atl objects, or is it because i'm now using windows xp pro and not windows 98...

Thanks - Jason
GeneralRe: File Monitor Source Code Pin
Stephane Rodriguez.1-Nov-02 10:22
Stephane Rodriguez.1-Nov-02 10:22 
GeneralRe: File Monitor Source Code Pin
Jay21-Nov-02 10:44
Jay21-Nov-02 10:44 
GeneralRe: File Monitor Source Code Pin
Stephane Rodriguez.1-Nov-02 19:56
Stephane Rodriguez.1-Nov-02 19:56 
GeneralRe: File Monitor Source Code Pin
Jay21-Nov-02 11:54
Jay21-Nov-02 11:54 
GeneralEditing list view subitems Pin
Edilson Vasconcelos de Melo Junior1-Nov-02 8:45
Edilson Vasconcelos de Melo Junior1-Nov-02 8:45 
GeneralWinSock Pin
Steven M Hunt1-Nov-02 8:38
Steven M Hunt1-Nov-02 8:38 
GeneralRe: WinSock Pin
David Viggiano1-Nov-02 9:12
David Viggiano1-Nov-02 9:12 
QuestionWhat is wrong with this way of initializing vfw drivers? Pin
Redeemer-dk1-Nov-02 7:59
Redeemer-dk1-Nov-02 7:59 
AnswerRe: What is wrong with this way of initializing vfw drivers? Pin
Stephane Rodriguez.1-Nov-02 10:26
Stephane Rodriguez.1-Nov-02 10:26 
GeneralRe: What is wrong with this way of initializing vfw drivers? Pin
Redeemer-dk1-Nov-02 11:07
Redeemer-dk1-Nov-02 11:07 
GeneralSending Email Pin
Shamoon1-Nov-02 7:34
Shamoon1-Nov-02 7:34 
GeneralRe: Sending Email Pin
ian mariano1-Nov-02 8:05
ian mariano1-Nov-02 8:05 
GeneralRe: Sending Email Pin
Paul Oss1-Nov-02 10:55
Paul Oss1-Nov-02 10:55 
GeneralRe: Sending Email Pin
Ravi Bhavnani1-Nov-02 11:08
professionalRavi Bhavnani1-Nov-02 11:08 
GeneralRe: Sending Email Pin
Paul Oss1-Nov-02 11:12
Paul Oss1-Nov-02 11:12 
GeneralRe: Sending Email Pin
markkuk2-Nov-02 0:40
markkuk2-Nov-02 0:40 
GeneralChanging Icon displayed by Windows Explorer for MFC program Pin
Harold Bamford1-Nov-02 7:26
Harold Bamford1-Nov-02 7:26 

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.