Click here to Skip to main content
15,909,822 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIntegrate CView desrived class into a dialog box Pin
transoft26-Oct-09 12:13
transoft26-Oct-09 12:13 
AnswerRe: Integrate CView desrived class into a dialog box Pin
Randor 26-Oct-09 16:27
professional Randor 26-Oct-09 16:27 
AnswerRe: Integrate CView desrived class into a dialog box Pin
Iain Clarke, Warrior Programmer27-Oct-09 3:17
Iain Clarke, Warrior Programmer27-Oct-09 3:17 
GeneralRe: Integrate CView desrived class into a dialog box Pin
transoft27-Oct-09 6:22
transoft27-Oct-09 6:22 
QuestionRe: Integrate CView desrived class into a dialog box Pin
David Crow27-Oct-09 6:35
David Crow27-Oct-09 6:35 
AnswerRe: Integrate CView desrived class into a dialog box Pin
transoft27-Oct-09 8:43
transoft27-Oct-09 8:43 
QuestionRe: Integrate CView desrived class into a dialog box Pin
David Crow27-Oct-09 8:49
David Crow27-Oct-09 8:49 
QuestionHow to use IcmpCreateFile(); Pin
Manmohan2926-Oct-09 10:08
Manmohan2926-Oct-09 10:08 
I got this error while building the project.
I have included all header files but still this error remains???Confused | :confused:
1>Ping.obj : error LNK2019: unresolved external symbol _IcmpCreateFile@0 referenced in function "public: int __thiscall CPing::PingThis(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >)" (?PingThis@CPing@@QAEHV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z)<br />
1>F:\Manmohan\Visual C++\IPM\Debug\IPM.exe : fatal error LNK1120: 1 unresolved externals<br />


// Ping.cpp
// This is a custom c++ class added to the project
#include "StdAfx.h"

#include <IPHlpApi.h>
#include <IcmpAPI.h>
#include "Ping.h"

CPing::CPing(void)
{
}

CPing::~CPing(void)
{
}

// Ping function
int CPing::PingThis(CString m_sAddress)
{
	HANDLE hIcmpFile = IcmpCreateFile();
	if (hIcmpFile == INVALID_HANDLE_VALUE)
	{
		return -1;
	}


	return 0;
}


Future Lies in Present.
Manmohan Bishnoi

QuestionRe: How to use IcmpCreateFile(); Pin
David Crow26-Oct-09 10:31
David Crow26-Oct-09 10:31 
AnswerRe: How to use IcmpCreateFile(); Pin
Manmohan2926-Oct-09 17:29
Manmohan2926-Oct-09 17:29 
QuestionRe: How to use IcmpCreateFile(); Pin
David Crow27-Oct-09 3:02
David Crow27-Oct-09 3:02 
AnswerRe: How to use IcmpCreateFile(); Pin
Randor 26-Oct-09 10:48
professional Randor 26-Oct-09 10:48 
GeneralRe: How to use IcmpCreateFile(); Pin
Manmohan2926-Oct-09 17:08
Manmohan2926-Oct-09 17:08 
Questioninheritance Pin
khomeyni26-Oct-09 9:40
khomeyni26-Oct-09 9:40 
AnswerRe: inheritance Pin
David Crow26-Oct-09 9:54
David Crow26-Oct-09 9:54 
GeneralRe: inheritance Pin
khomeyni27-Oct-09 6:19
khomeyni27-Oct-09 6:19 
QuestionRe: inheritance Pin
David Crow27-Oct-09 6:30
David Crow27-Oct-09 6:30 
AnswerRe: inheritance Pin
khomeyni27-Oct-09 6:56
khomeyni27-Oct-09 6:56 
GeneralRe: inheritance Pin
David Crow27-Oct-09 7:36
David Crow27-Oct-09 7:36 
GeneralRe: inheritance Pin
khomeyni28-Oct-09 20:54
khomeyni28-Oct-09 20:54 
QuestionThread buttons Pin
Nikz226-Oct-09 6:37
Nikz226-Oct-09 6:37 
QuestionRe: Thread buttons Pin
David Crow26-Oct-09 6:45
David Crow26-Oct-09 6:45 
AnswerRe: Thread buttons Pin
Nikz226-Oct-09 7:26
Nikz226-Oct-09 7:26 
Questionhow to convert tiff to pdf it's urgent Pin
eswar pothula26-Oct-09 5:23
eswar pothula26-Oct-09 5:23 
QuestionRe: how to convert tiff to pdf it's urgent Pin
CPallini26-Oct-09 5:41
mveCPallini26-Oct-09 5:41 

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.