Click here to Skip to main content
15,887,911 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
Rajesh R Subramanian24-Sep-08 23:56
professionalRajesh R Subramanian24-Sep-08 23:56 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
param_joshi25-Sep-08 0:04
param_joshi25-Sep-08 0:04 
AnswerRe: How can connect MySQL database with VC++ mfc application Pin
Rajesh R Subramanian25-Sep-08 0:22
professionalRajesh R Subramanian25-Sep-08 0:22 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
param_joshi25-Sep-08 0:36
param_joshi25-Sep-08 0:36 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
Rajesh R Subramanian25-Sep-08 1:54
professionalRajesh R Subramanian25-Sep-08 1:54 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
param_joshi25-Sep-08 1:56
param_joshi25-Sep-08 1:56 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
Rajesh R Subramanian25-Sep-08 2:08
professionalRajesh R Subramanian25-Sep-08 2:08 
QuestionHow to get LoginNames of all Users in my Domain? Pin
narayanagvs24-Sep-08 2:05
narayanagvs24-Sep-08 2:05 
QuestionRe: How to get LoginNames of all Users in my Domain? Pin
David Crow24-Sep-08 4:11
David Crow24-Sep-08 4:11 
AnswerRe: How to get LoginNames of all Users in my Domain? Pin
Hamid_RT24-Sep-08 6:15
Hamid_RT24-Sep-08 6:15 
Questiondeletion of thread pointer Pin
ptr_Electron24-Sep-08 0:41
ptr_Electron24-Sep-08 0:41 
AnswerRe: deletion of thread pointer Pin
SandipG 24-Sep-08 0:55
SandipG 24-Sep-08 0:55 
AnswerRe: deletion of thread pointer Pin
CPallini24-Sep-08 0:59
mveCPallini24-Sep-08 0:59 

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.