Click here to Skip to main content
16,005,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerOk, I'm a good sport, let's start from the beginning... Pin
Maximilien17-Oct-09 3:31
Maximilien17-Oct-09 3:31 
AnswerRe: how to undef a typedef? Pin
Bram van Kampen18-Oct-09 1:42
Bram van Kampen18-Oct-09 1:42 
Questionquestion about copy a picture with c [modified] Pin
Dengjin_CN16-Oct-09 23:16
Dengjin_CN16-Oct-09 23:16 
AnswerRe: question about copy a picture with c Pin
Rajesh R Subramanian17-Oct-09 0:35
professionalRajesh R Subramanian17-Oct-09 0:35 
GeneralRe: question about copy a picture with c Pin
Dengjin_CN17-Oct-09 1:25
Dengjin_CN17-Oct-09 1:25 
GeneralRe: question about copy a picture with c Pin
Richard MacCutchan17-Oct-09 3:58
mveRichard MacCutchan17-Oct-09 3:58 
AnswerRe: question about copy a picture with c Pin
Patcher3217-Oct-09 8:10
Patcher3217-Oct-09 8:10 
Questionvs2005+WPCAP capture packets+callback function Pin
diaoxue16-Oct-09 20:04
diaoxue16-Oct-09 20:04 
while(IsCapture)
{
pcap_loop(adhandle, 1, packet_handler, NULL);//call this function
}

void CIPv6_packet_analyzerView::packet_handler(u_char* param, const struct pcap_pkthdr* header, const u_char* pkt_data)
{
//================definition
}

error when compile:
error C3867: 'CIPv6_packet_analyzerView::packet_handler': function call missing argument list; use '&CIPv6_packet_analyzerView::packet_handler' to create a pointer to member

what's wrong? this program can run in vc6.0

use '&CIPv6_packet_analyzerView::packet_handler' to create a pointer to member

while(IsCapture)
{
pcap_loop(adhandle, 1, &CIPv6_packet_analyzerView::packet_handler, NULL);
}

error when compile: :error C2664: 'pcap_loop' : cannot convert parameter 3 from 'void (__thiscall CIPv6_packet_analyzerView::* )(u_char *,const pcap_pkthdr *,const u_char *)' to 'pcap_handler'

Thank you very much
QuestionVC6 installation error, what is this? Pin
includeh1016-Oct-09 13:39
includeh1016-Oct-09 13:39 
AnswerRe: VC6 installation error, what is this? Pin
«_Superman_»16-Oct-09 13:43
professional«_Superman_»16-Oct-09 13:43 
AnswerRe: VC6 installation error, what is this? Pin
Hans Dietrich16-Oct-09 13:46
mentorHans Dietrich16-Oct-09 13:46 
QuestionChanging the look and feel of a MFC dialog box Pin
burslem200116-Oct-09 12:15
burslem200116-Oct-09 12:15 
AnswerRe: Changing the look and feel of a MFC dialog box Pin
«_Superman_»16-Oct-09 13:24
professional«_Superman_»16-Oct-09 13:24 
GeneralRe: Changing the look and feel of a MFC dialog box Pin
burslem200116-Oct-09 18:06
burslem200116-Oct-09 18:06 
GeneralRe: Changing the look and feel of a MFC dialog box Pin
wangningyu16-Oct-09 20:32
wangningyu16-Oct-09 20:32 
GeneralRe: Changing the look and feel of a MFC dialog box Pin
burslem200119-Oct-09 1:28
burslem200119-Oct-09 1:28 
Questionmultithreading class [modified] Pin
es196816-Oct-09 11:25
es196816-Oct-09 11:25 
AnswerRe: multithreading class Pin
Moak17-Oct-09 1:27
Moak17-Oct-09 1:27 
GeneralRe: multithreading class Pin
es196817-Oct-09 2:04
es196817-Oct-09 2:04 
AnswerRe: multithreading class Pin
cmk17-Oct-09 4:22
cmk17-Oct-09 4:22 
GeneralRe: multithreading class Pin
es196817-Oct-09 6:16
es196817-Oct-09 6:16 
QuestionI just don't understand HWND Pin
GLGunblade16-Oct-09 8:24
GLGunblade16-Oct-09 8:24 
AnswerRe: I just don't understand HWND Pin
«_Superman_»16-Oct-09 8:44
professional«_Superman_»16-Oct-09 8:44 
GeneralRe: I just don't understand HWND Pin
GLGunblade16-Oct-09 8:52
GLGunblade16-Oct-09 8:52 
GeneralRe: I just don't understand HWND Pin
Richard MacCutchan16-Oct-09 9:05
mveRichard MacCutchan16-Oct-09 9: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.