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

C / C++ / MFC

 
GeneralRe: Wireless signal strength and C++ Pin
crazy1dude19-Oct-04 9:18
crazy1dude19-Oct-04 9:18 
Generaltutorials Pin
tmoss19-Oct-04 5:10
tmoss19-Oct-04 5:10 
GeneralRe: tutorials Pin
David Crow19-Oct-04 8:10
David Crow19-Oct-04 8:10 
GeneralMemory leak.. Pin
RobJones19-Oct-04 4:13
RobJones19-Oct-04 4:13 
GeneralRe: Memory leak.. Pin
Bob Stanneveld19-Oct-04 9:18
Bob Stanneveld19-Oct-04 9:18 
GeneralRe: Memory leak.. Pin
RobJones19-Oct-04 9:23
RobJones19-Oct-04 9:23 
GeneralRe: Memory leak.. Pin
Bob Stanneveld19-Oct-04 9:35
Bob Stanneveld19-Oct-04 9:35 
GeneralRe: Memory leak.. Pin
RobJones19-Oct-04 10:21
RobJones19-Oct-04 10:21 
Didn't help, it ASSERTS if you try to 'delete pEx' the ASSERT says to use pEx->Delete() and not the other... Anyway I have traced the problem down some what, the Flush() causes a exception and so does the Close().. I'm not sure how I can catch both exceptions.. I can see 2 exceptions in the debug window yet my trace shows that I am only catching one of the two.. When I put another try/catch around the Close I catch it yet an extra exception occurs (3), this is just odd.. And the memory leak is still there.. weird..

I tried using AfxIsValidAddress() for the CArchive and CSocketFile and this worked like a charm in Debug mode, Said that the address wasn't valid when the connection was lost, yet said it was valid when the connection was present.. but in Release mode it fails every time, connected or not.. ever had any experence in using AfxIsValidAddress?

Rob

Whoever said nothing's impossible never tried slamming a revolving door!
GeneralRe: Memory leak.. Pin
Bob Stanneveld19-Oct-04 11:24
Bob Stanneveld19-Oct-04 11:24 
GeneralRe: Memory leak.. Pin
RobJones19-Oct-04 16:48
RobJones19-Oct-04 16:48 
GeneralMachines in LAN connected to my machine Pin
tgprakash19-Oct-04 4:10
tgprakash19-Oct-04 4:10 
GeneralRe: Machines in LAN connected to my machine Pin
RobJones19-Oct-04 4:54
RobJones19-Oct-04 4:54 
GeneralRe: Machines in LAN connected to my machine Pin
rromerot19-Oct-04 5:59
rromerot19-Oct-04 5:59 
GeneralRe: Machines in LAN connected to my machine Pin
David Crow19-Oct-04 8:00
David Crow19-Oct-04 8:00 
QuestionCallback ? Pin
madretierra19-Oct-04 3:44
madretierra19-Oct-04 3:44 
AnswerRe: SendMessage/PostMessage Pin
Budric B.19-Oct-04 8:19
Budric B.19-Oct-04 8:19 
GeneralRe: SendMessage/PostMessage Pin
madretierra19-Oct-04 22:30
madretierra19-Oct-04 22:30 
AnswerAnd don't pass pointers between processes Pin
Budric B.19-Oct-04 8:24
Budric B.19-Oct-04 8:24 
AnswerRe: Callback ? Pin
Bob Stanneveld19-Oct-04 9:26
Bob Stanneveld19-Oct-04 9:26 
GeneralRe: Callback ? Pin
madretierra19-Oct-04 22:35
madretierra19-Oct-04 22:35 
GeneralCTreeCtrl Speeding issue Pin
Vikram Kashyap19-Oct-04 3:32
Vikram Kashyap19-Oct-04 3:32 
GeneralRe: CTreeCtrl Speeding issue Pin
BlackDice19-Oct-04 5:43
BlackDice19-Oct-04 5:43 
GeneralRe: CTreeCtrl Speeding issue Pin
Vikram Kashyap19-Oct-04 18:39
Vikram Kashyap19-Oct-04 18:39 
GeneralRe: CTreeCtrl Speeding issue Pin
Joel Lucsy19-Oct-04 15:37
Joel Lucsy19-Oct-04 15:37 
Generallooking for a specific c++ object Pin
Vacnez19-Oct-04 3:27
Vacnez19-Oct-04 3:27 

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.