Click here to Skip to main content
       

C / C++ / MFC

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
GeneralRe: Basic Help PinmvpCPallini21 May '12 - 22:19 
GeneralRe: Basic Help PinmemberDasttann77721 May '12 - 22:57 
QuestionRe: Basic Help PinmvpCPallini21 May '12 - 23:13 
AnswerRe: Basic Help PinmemberDasttann77721 May '12 - 23:21 
GeneralRe: Basic Help PinmvpCPallini21 May '12 - 23:22 
QuestioncapAVI question for a real capAVI gurus. PinmemberVaclav_Sal21 May '12 - 11:28 
AnswerRe: capAVI question for a real capAVI gurus. PinmemberVaclav_Sal21 May '12 - 15:40 
GeneralSOLVED capAVI question for a real capAVI gurus. PinmemberVaclav_Sal22 May '12 - 4:53 
QuestionCEdit Selection Orientation Pinmemberbaerten21 May '12 - 4:08 
AnswerRe: CEdit Selection Orientation PinmemberCode-o-mat21 May '12 - 5:17 
GeneralRe: CEdit Selection Orientation Pinmemberbaerten21 May '12 - 23:31 
GeneralRe: CEdit Selection Orientation PinmemberCode-o-mat21 May '12 - 23:33 
QuestionUnhandled exception at..... Access violation PinmemberForNow20 May '12 - 23:36 
Hi,
I have a Window app from which I am doing communication to a DOS app via named pipes
My method of doing this is to signal a event after I have queued the messages to the DOS app
The method from which I am signaling the event is inoked via SendWindow and has
and thus has a prototype LRESULT (WPARAM, LPARAM)
The problem is as soon as I SIGNAL the event control is transfered
When control is returned to the method which signaled the event it executes the
next statement which   causes an access violation
 
listed below is the code in question
 
<pre lang='cpp'> LRESULT CprogDebug::receive_tcpip(WPARAM mywparam,LPARAM mylparam)
 
      .
      .
      .
      .
      .
 
  
            myeventptr->send_window = this;
         myeventptr->SetEvent();                     // queue message
            return TRUE;   // <==== access violation </pre>
 
Thanks in Advance
AnswerRe: Unhandled exception at..... Access violation Pinmembercharlieg21 May '12 - 5:49 
GeneralRe: Unhandled exception at..... Access violation PinmemberForNow21 May '12 - 8:14 
GeneralRe: Unhandled exception at..... Access violation Pinmembercharlieg21 May '12 - 8:21 
GeneralRe: Unhandled exception at..... Access violation PinmemberTomasRiker221 May '12 - 10:49 
AnswerRe: Unhandled exception at..... Access violation PinmvpLuc Pattyn21 May '12 - 9:41 
GeneralRe: Unhandled exception at..... Access violation PinmemberDavidCrow21 May '12 - 9:45 
GeneralRe: Unhandled exception at..... Access violation PinmemberForNow21 May '12 - 13:12 
GeneralRe: Unhandled exception at..... Access violation PinmemberForNow22 May '12 - 2:51 
QuestionIs it possible to turn a c++ MFC or win32 app into a click once deployment Pinmemberjkirkerx20 May '12 - 9:50 
Answer.Re: Is it possible to turn a c++ MFC or win32 app into a click once deployment PinmemberVitaly Tomilov20 May '12 - 11:13 
GeneralRe: .Re: Is it possible to turn a c++ MFC or win32 app into a click once deployment Pinmemberjkirkerx21 May '12 - 4:08 
GeneralRe: .Re: Is it possible to turn a c++ MFC or win32 app into a click once deployment PinmemberAlbert Holguin21 May '12 - 4:38 
GeneralRe: .Re: Is it possible to turn a c++ MFC or win32 app into a click once deployment Pinmemberjkirkerx21 May '12 - 8:19 
GeneralRe: .Re: Is it possible to turn a c++ MFC or win32 app into a click once deployment PinmemberVitaly Tomilov21 May '12 - 8:44 
GeneralRe: .Re: Is it possible to turn a c++ MFC or win32 app into a click once deployment PinmemberAlbert Holguin21 May '12 - 9:56 
QuestionGet rid of _ftol2_sse PinmemberSystemFiles19 May '12 - 2:59 
AnswerRe: Get rid of _ftol2_sse PinmemberChris Losinger19 May '12 - 4:46 
GeneralRe: Get rid of _ftol2_sse [modified] PinmemberSystemFiles19 May '12 - 13:02 
QuestionArccosinus and Arcsinus using floating point assembly PinmemberSystemFiles19 May '12 - 2:54 
AnswerRe: Arccosinus and Arcsinus using floating point assembly PinmvpLuc Pattyn19 May '12 - 3:28 
GeneralRe: Arccosinus and Arcsinus using floating point assembly PinmemberSystemFiles19 May '12 - 13:05 
GeneralRe: Arccosinus and Arcsinus using floating point assembly PinmemberSystemFiles21 May '12 - 10:36 
AnswerRe: Arccosinus and Arcsinus using floating point assembly PinmvpLuc Pattyn21 May '12 - 11:02 
AnswerRe: Arccosinus and Arcsinus using floating point assembly Pinmembercmk21 May '12 - 12:29 
GeneralRe: Arccosinus and Arcsinus using floating point assembly PinmemberSystemFiles19 Jun '12 - 3:21 
GeneralDriver development help & tips PinmemberBrandon T. H.18 May '12 - 21:45 
GeneralRe: Driver development help & tips PinmvpRichard MacCutchan18 May '12 - 21:56 
GeneralRe: Driver development help & tips PinmemberBrandon T. H.18 May '12 - 22:12 
GeneralRe: Driver development help & tips PinmvpRichard MacCutchan19 May '12 - 0:31 
GeneralRe: Driver development help & tips Pinmember«_Superman_»19 May '12 - 17:37 
GeneralRe: Driver development help & tips PinmemberErudite_Eric20 May '12 - 21:37 
GeneralRe: Driver development help & tips PinmemberBrandon T. H.20 May '12 - 22:49 
GeneralRe: Driver development help & tips PinmemberErudite_Eric20 May '12 - 23:02 
QuestionBest way to handle errors (esp. in games) Pinmemberforkbomber18 May '12 - 11:15 
AnswerRe: Best way to handle errors (esp. in games) PinmemberTomasRiker218 May '12 - 13:23 
GeneralRe: Best way to handle errors (esp. in games) PinmemberStefan_Lang21 May '12 - 23:54 
AnswerRe: Best way to handle errors (esp. in games) PinmemberDavidCrow18 May '12 - 16:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 19 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid