Click here to Skip to main content
15,867,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Difference between goto and function calls Pin
Richard MacCutchan14-Jun-12 21:53
mveRichard MacCutchan14-Jun-12 21:53 
GeneralRe: Difference between goto and function calls Pin
Erudite_Eric15-Jun-12 21:40
Erudite_Eric15-Jun-12 21:40 
GeneralRe: Difference between goto and function calls Pin
Richard MacCutchan15-Jun-12 22:29
mveRichard MacCutchan15-Jun-12 22:29 
GeneralBug in ATL/MFC 8.0 CString Pin
XmlSeeker14-Jun-12 19:19
XmlSeeker14-Jun-12 19:19 
GeneralRe: Bug in ATL/MFC 8.0 CString Pin
Erudite_Eric14-Jun-12 20:54
Erudite_Eric14-Jun-12 20:54 
GeneralRe: Bug in ATL/MFC 8.0 CString Pin
Eugen Podsypalnikov14-Jun-12 20:59
Eugen Podsypalnikov14-Jun-12 20:59 
GeneralRe: Bug in ATL/MFC 8.0 CString Pin
XmlSeeker16-Jun-12 7:18
XmlSeeker16-Jun-12 7:18 
QuestionError with dynamic_cast Pin
msr_codeproject12-Jun-12 20:14
msr_codeproject12-Jun-12 20:14 
class Filter;

typedef void (Filter::*PFN)();

class Filter
{
public:
	void ProcessPart();
	void MyProcessPart();
	
	struct Pair_t
	{
		Pair_t(int d, PFN n) : iid(d), pfn(n) {}

		int  iid;
		PFN  pfn;

	private:

		Pair_t& operator=(const Pair_t&);
	};

};

void Filter::ProcessPart()
{
	PFN pfn2;


        //Here I am getting error C2681
	pfn2 = dynamic_cast<Filter*> (&Filter::ProcessPart);

	Pair_t(9, pfn2);
}

int _tmain(int argc, _TCHAR* argv[])
{
	return 0;
}


I am not able to solve this.
Any help?
Thanks
AnswerRe: Error with dynamic_cast Pin
Richard MacCutchan12-Jun-12 21:59
mveRichard MacCutchan12-Jun-12 21:59 
GeneralRe: Error with dynamic_cast Pin
msr_codeproject12-Jun-12 22:47
msr_codeproject12-Jun-12 22:47 
AnswerRe: Error with dynamic_cast Pin
Erudite_Eric13-Jun-12 5:35
Erudite_Eric13-Jun-12 5:35 
AnswerRe: Error with dynamic_cast Pin
Iain Clarke, Warrior Programmer14-Jun-12 2:33
Iain Clarke, Warrior Programmer14-Jun-12 2:33 
GeneralRe: Error with dynamic_cast Pin
Richard MacCutchan14-Jun-12 4:10
mveRichard MacCutchan14-Jun-12 4:10 
GeneralRe: Error with dynamic_cast Pin
Iain Clarke, Warrior Programmer14-Jun-12 4:11
Iain Clarke, Warrior Programmer14-Jun-12 4:11 
GeneralRe: Error with dynamic_cast Pin
Richard MacCutchan14-Jun-12 4:23
mveRichard MacCutchan14-Jun-12 4:23 
QuestionGoogle Docs API Pin
.dan.g.12-Jun-12 17:54
professional.dan.g.12-Jun-12 17:54 
AnswerRe: Google Docs API Pin
Albert Holguin12-Jun-12 18:32
professionalAlbert Holguin12-Jun-12 18:32 
GeneralRe: Google Docs API Pin
.dan.g.13-Jun-12 18:11
professional.dan.g.13-Jun-12 18:11 
QuestionPorting MFC exe to ATL service and MFC GUI Pin
es196812-Jun-12 3:51
es196812-Jun-12 3:51 
QuestionAudio Encryption Pin
AmbiguousName11-Jun-12 20:15
AmbiguousName11-Jun-12 20:15 
AnswerRe: Audio Encryption Pin
Richard MacCutchan11-Jun-12 22:13
mveRichard MacCutchan11-Jun-12 22:13 
AnswerRe: Audio Encryption Pin
Albert Holguin12-Jun-12 4:03
professionalAlbert Holguin12-Jun-12 4:03 
QuestionControl questions on Property pages Pin
DeepT11-Jun-12 8:35
DeepT11-Jun-12 8:35 
AnswerRe: Control questions on Property pages Pin
Chris Losinger11-Jun-12 8:58
professionalChris Losinger11-Jun-12 8:58 
GeneralRe: Control questions on Property pages Pin
DeepT12-Jun-12 3:20
DeepT12-Jun-12 3:20 

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.