Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CInternetSession: https certificate problem Pin
Code-o-mat13-Oct-10 6:19
Code-o-mat13-Oct-10 6:19 
GeneralRe: CInternetSession: https certificate problem Pin
msn9214-Oct-10 4:49
msn9214-Oct-10 4:49 
GeneralRe: CInternetSession: https certificate problem Pin
Code-o-mat14-Oct-10 5:21
Code-o-mat14-Oct-10 5:21 
QuestionRemove Maximize Pin
john563213-Oct-10 5:20
john563213-Oct-10 5:20 
AnswerRe: Remove Maximize Pin
Aescleal13-Oct-10 5:43
Aescleal13-Oct-10 5:43 
GeneralRe: Remove Maximize Pin
Emilio Garavaglia14-Oct-10 4:14
Emilio Garavaglia14-Oct-10 4:14 
AnswerRe: Remove Maximize Pin
Alain Rist13-Oct-10 6:28
Alain Rist13-Oct-10 6:28 
QuestionPainfully frustrating sdk memory exception? [modified] Pin
fjdiewornncalwe13-Oct-10 1:47
professionalfjdiewornncalwe13-Oct-10 1:47 
I have a very frustrating issue that has been driving me nuts for a couple of years now.

We have a 3rd party application that is pretty much a high load Sybase database to which we have no visibility. My internal customer requires me to provide them with real time statistics using a web app to show the results.

In order to retrieve this real time data, we have an sdk provided by the vendor, who unfortunately no longer exist so it is completely unsupported.

This sdk has one big problem, it has a memory leak that causes the thread to grow by between 2 and 4k on each iteration.

My solution is an MFC application which consumes the sdk. In order to manage the memory space of the application and keep it from eating up unlimited resources, I have a Windows Service wrapping the application and monitoring the memory usage. When the usage gets to big, it signals the application to exist and then restart.

My issue is that periodically there is a memory error occuring within the sdk which I can't handle in my application. There is no pattern to the timing of this error. It could be five minutes, or five days, and the invalid memory address also doesn't follow any visible patterns.

Has anyone else had a similar issue with a memory exception in a third party sdk? How did you deal with it? I have spent years writing real time software and my threading knowledge is very good, so I have eliminated the possibilities of bad or missing locks and pointers in my side of the application.

modified on Wednesday, October 13, 2010 2:27 PM

AnswerRe: Bloody sdk memory exception? Pin
Sauro Viti13-Oct-10 2:33
professionalSauro Viti13-Oct-10 2:33 
GeneralRe: Bloody sdk memory exception? Pin
fjdiewornncalwe13-Oct-10 3:13
professionalfjdiewornncalwe13-Oct-10 3:13 
AnswerRe: Bloody sdk memory exception? Pin
Maximilien13-Oct-10 5:47
Maximilien13-Oct-10 5:47 
GeneralRe: Bloody sdk memory exception? Pin
fjdiewornncalwe13-Oct-10 5:54
professionalfjdiewornncalwe13-Oct-10 5:54 
AnswerRe: Bloody sdk memory exception? Pin
Code-o-mat13-Oct-10 5:59
Code-o-mat13-Oct-10 5:59 
GeneralRe: Bloody sdk memory exception? [modified] Pin
fjdiewornncalwe13-Oct-10 8:35
professionalfjdiewornncalwe13-Oct-10 8:35 
GeneralRe: Bloody sdk memory exception? [modified] Pin
Code-o-mat13-Oct-10 10:23
Code-o-mat13-Oct-10 10:23 
GeneralRe: Bloody sdk memory exception? Pin
fjdiewornncalwe14-Oct-10 2:30
professionalfjdiewornncalwe14-Oct-10 2:30 
JokeRe: Bloody sdk memory exception? Pin
Code-o-mat14-Oct-10 2:55
Code-o-mat14-Oct-10 2:55 
GeneralRe: Bloody sdk memory exception? Pin
Code-o-mat25-Oct-10 0:13
Code-o-mat25-Oct-10 0:13 
GeneralRe: Bloody sdk memory exception? Pin
fjdiewornncalwe25-Oct-10 4:26
professionalfjdiewornncalwe25-Oct-10 4:26 
QuestionRightJustify a widechar string Pin
T.RATHA KRISHNAN13-Oct-10 1:08
T.RATHA KRISHNAN13-Oct-10 1:08 
AnswerRe: RightJustify a widechar string Pin
Chris Losinger13-Oct-10 1:24
professionalChris Losinger13-Oct-10 1:24 
GeneralRe: RightJustify a widechar string Pin
T.RATHA KRISHNAN13-Oct-10 1:29
T.RATHA KRISHNAN13-Oct-10 1:29 
GeneralRe: RightJustify a widechar string Pin
Chris Losinger13-Oct-10 1:31
professionalChris Losinger13-Oct-10 1:31 
GeneralRe: RightJustify a widechar string Pin
CPallini13-Oct-10 1:38
mveCPallini13-Oct-10 1:38 
AnswerRe: RightJustify a widechar string Pin
Cedric Moonen13-Oct-10 1:49
Cedric Moonen13-Oct-10 1:49 

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.