Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Load a Bitmap from a file (char array) stored in memory? Pin
Mark Salsbery24-Sep-08 15:05
Mark Salsbery24-Sep-08 15:05 
Questionerror LNK2019 Pin
susanne124-Sep-08 5:12
susanne124-Sep-08 5:12 
QuestionRe: error LNK2019 Pin
CPallini24-Sep-08 5:25
mveCPallini24-Sep-08 5:25 
AnswerRe: error LNK2019 Pin
Hamid_RT24-Sep-08 6:11
Hamid_RT24-Sep-08 6:11 
Questioninvalid memory allocation not throwing exception but opening Windows message box? Pin
T.T.H.24-Sep-08 5:11
T.T.H.24-Sep-08 5:11 
AnswerRe: invalid memory allocation not throwing exception but opening Windows message box? Pin
T.T.H.30-Sep-08 4:12
T.T.H.30-Sep-08 4:12 
QuestionSend a file to an eMail address "silently" Pin
Joseph Marzbani24-Sep-08 4:46
Joseph Marzbani24-Sep-08 4:46 
AnswerRe: Send a file to an eMail address "silently" Pin
Iain Clarke, Warrior Programmer24-Sep-08 4:56
Iain Clarke, Warrior Programmer24-Sep-08 4:56 
GeneralRe: Send a file to an eMail address "silently" Pin
Joseph Marzbani24-Sep-08 5:03
Joseph Marzbani24-Sep-08 5:03 
GeneralRe: Send a file to an eMail address "silently" Pin
Perspx24-Sep-08 6:14
Perspx24-Sep-08 6:14 
AnswerRe: Send a file to an eMail address "silently" Pin
Joseph Marzbani24-Sep-08 7:06
Joseph Marzbani24-Sep-08 7:06 
GeneralRe: Send a file to an eMail address "silently" Pin
Perspx24-Sep-08 7:10
Perspx24-Sep-08 7:10 
GeneralRe: Send a file to an eMail address "silently" Pin
Joseph Marzbani24-Sep-08 7:37
Joseph Marzbani24-Sep-08 7:37 
GeneralRe: Send a file to an eMail address "silently" Pin
CPallini24-Sep-08 7:21
mveCPallini24-Sep-08 7:21 
GeneralRe: Send a file to an eMail address "silently" Pin
Joseph Marzbani24-Sep-08 7:40
Joseph Marzbani24-Sep-08 7:40 
QuestionIOCP Socket Timeout Problem.. Pin
onlyjaypatel24-Sep-08 4:29
onlyjaypatel24-Sep-08 4:29 
QuestionRe: IOCP Socket Timeout Problem.. Pin
Mark Salsbery24-Sep-08 6:33
Mark Salsbery24-Sep-08 6:33 
AnswerRe: IOCP Socket Timeout Problem.. Pin
cmk25-Sep-08 10:37
cmk25-Sep-08 10:37 
QuestionMAPI problem! Pin
josip cagalj24-Sep-08 4:18
josip cagalj24-Sep-08 4:18 
AnswerRe: MAPI problem! Pin
josip cagalj25-Sep-08 1:45
josip cagalj25-Sep-08 1:45 
QuestionHow to implement such a cache scheme in C++? [modified] Pin
followait24-Sep-08 3:56
followait24-Sep-08 3:56 
Like virtual memory, when read/write the memory,
if the page is in the memory, there will be little extra overhead.
And if the page is not in the memory, the program will deal with the page fault,
and jump back to re-run the operation that generate the page fault.

Now I'd like to apply this to cache implementation,
I suppose the cache always contains what should be cached.
So if the data is in the cache, it'll run smoothly.
If not, it can jump to prepare the cache and jump back to re-run.
PS: I need this because the cache in my application is the intermediate calculation result,
and it'll be saved in the database for future use (in other words,
it need to be cached only once, so the program runs as smoothly as possible most of the time)

Any good skill to simulate this?

More local variables mean higher cohensiveSmile | :)
Less function parameters mean looser coupling

modified on Wednesday, September 24, 2008 10:14 AM

QuestionHow can connect MySQL database with VC++ mfc application Pin
param_joshi24-Sep-08 2:06
param_joshi24-Sep-08 2:06 
QuestionRe: How can connect MySQL database with VC++ mfc application Pin
CPallini24-Sep-08 2:48
mveCPallini24-Sep-08 2:48 
AnswerRe: How can connect MySQL database with VC++ mfc application Pin
Rajesh R Subramanian24-Sep-08 3:20
professionalRajesh R Subramanian24-Sep-08 3:20 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
param_joshi24-Sep-08 23:46
param_joshi24-Sep-08 23:46 

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.