Click here to Skip to main content
15,900,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: accessing webcam using VC++ Pin
_AnsHUMAN_ 18-Feb-09 20:34
_AnsHUMAN_ 18-Feb-09 20:34 
Questionhow to protect my process from being closed? Pin
tyr200018-Feb-09 19:47
tyr200018-Feb-09 19:47 
AnswerRe: how to protect my process from being closed? Pin
Cedric Moonen18-Feb-09 20:13
Cedric Moonen18-Feb-09 20:13 
GeneralRe: how to protect my process from being closed? Pin
CPallini18-Feb-09 21:30
mveCPallini18-Feb-09 21:30 
GeneralRe: how to protect my process from being closed? Pin
tyr200021-Feb-09 17:58
tyr200021-Feb-09 17:58 
QuestionRe: how to protect my process from being closed? Pin
CPallini22-Feb-09 0:51
mveCPallini22-Feb-09 0:51 
GeneralRe: how to protect my process from being closed? Pin
tyr200021-Feb-09 17:55
tyr200021-Feb-09 17:55 
QuestionNeed urgent help in vc++ Pin
priyankapriyanka18-Feb-09 19:08
priyankapriyanka18-Feb-09 19:08 
Hello all,

I am creating PROJECT in vc++ 2005.
I got this error while running the program:

Error:

Unhandled exception at 0x7849affe (mfc80ud.dll) APP.exe: 0xC0000005: Access violation reading location 0xcccccccc.

At afxsock.inl file:

Line where error is coming:

AFXSOCK_INLINE int CAsyncSocket::SendTo(const void* lpBuf, int nBufLen, const SOCKADDR* lpSockAddr, int nSockAddrLen, int nFlags)
{ return SendToHelper(lpBuf, nBufLen, lpSockAddr, nSockAddrLen, nFlags);


My code is:


m_sSocket->SendTo(&msg, sizeof(char),MAINW_R_PORT,IP,0);


CAN ANYONE HELP ME IN RECTIFYING THE ERROR.

THANKS
AnswerRe: Need urgent help in vc++ Pin
Hamid_RT18-Feb-09 19:15
Hamid_RT18-Feb-09 19:15 
GeneralRe: Need urgent help in vc++ Pin
priyankapriyanka19-Feb-09 18:37
priyankapriyanka19-Feb-09 18:37 
AnswerRe: Need urgent help in vc++ Pin
Cedric Moonen18-Feb-09 20:15
Cedric Moonen18-Feb-09 20:15 
GeneralRe: Need urgent help in vc++ Pin
priyankapriyanka19-Feb-09 18:39
priyankapriyanka19-Feb-09 18:39 
AnswerRe: Need urgent help in vc++ Pin
Ash_VCPP18-Feb-09 20:47
Ash_VCPP18-Feb-09 20:47 
GeneralRe: Need urgent help in vc++ Pin
priyankapriyanka19-Feb-09 18:48
priyankapriyanka19-Feb-09 18:48 
AnswerRe: Need urgent help in vc++ Pin
Ash_VCPP18-Feb-09 22:21
Ash_VCPP18-Feb-09 22:21 
GeneralRe: Need urgent help in vc++ Pin
priyankapriyanka19-Feb-09 18:58
priyankapriyanka19-Feb-09 18:58 
GeneralRe: Need urgent help in vc++ Pin
Ash_VCPP19-Feb-09 21:11
Ash_VCPP19-Feb-09 21:11 
GeneralRe: Need urgent help in vc++ Pin
priyankapriyanka19-Feb-09 21:59
priyankapriyanka19-Feb-09 21:59 
GeneralRe: Need urgent help in vc++ Pin
Ash_VCPP22-Feb-09 20:04
Ash_VCPP22-Feb-09 20:04 
AnswerRe: Need urgent help in vc++ Pin
Stephen Hewitt19-Feb-09 1:42
Stephen Hewitt19-Feb-09 1:42 
GeneralRe: Need urgent help in vc++ Pin
priyankapriyanka19-Feb-09 18:53
priyankapriyanka19-Feb-09 18:53 
QuestionLoadLibrary cand call MFC DLL's fucntion Pin
akira3218-Feb-09 18:57
akira3218-Feb-09 18:57 
AnswerRe: LoadLibrary cand call MFC DLL's fucntion Pin
«_Superman_»18-Feb-09 19:03
professional«_Superman_»18-Feb-09 19:03 
GeneralRe: LoadLibrary cand call MFC DLL's fucntion Pin
akira3218-Feb-09 19:11
akira3218-Feb-09 19:11 
GeneralRe: LoadLibrary cand call MFC DLL's fucntion Pin
«_Superman_»18-Feb-09 19:17
professional«_Superman_»18-Feb-09 19:17 

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.