Click here to Skip to main content
15,893,381 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to implement such a cache scheme in C++? [modified] Pin
followait24-Sep-08 3:56
followait24-Sep-08 3:56 
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 
param_joshi wrote:
#include "afxdb.h"
#include "StdAfx.h"


A rule is that, you MUST include the pre-compiled header before anything else. Change it like
#include "stdafx.h"
#include "afxdb.h"
and it should compile just fine. Any code, or anything before the line #include "stdafx.h" will not be compiled at all. You can type any random junk like 'AL;DSFKL;AS;LDFKL;ASD before the precompiled header inclusion to make sure that that the compiler doesn't care about it.

Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche

.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]

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 
AnswerRe: deletion of thread pointer Pin
perle124-Sep-08 1:14
perle124-Sep-08 1:14 
AnswerRe: deletion of thread pointer Pin
Roger Stoltz24-Sep-08 1:51
Roger Stoltz24-Sep-08 1:51 
QuestionC2668 Pin
T.RATHA KRISHNAN24-Sep-08 0:30
T.RATHA KRISHNAN24-Sep-08 0:30 
AnswerRe: C2668 Pin
toxcct24-Sep-08 0:36
toxcct24-Sep-08 0:36 
QuestionRe: C2668 Pin
T.RATHA KRISHNAN24-Sep-08 0:41
T.RATHA KRISHNAN24-Sep-08 0:41 
AnswerRe: C2668 [modified] Pin
SandipG 24-Sep-08 1:06
SandipG 24-Sep-08 1:06 
GeneralRe: C2668 Pin
T.RATHA KRISHNAN24-Sep-08 1:20
T.RATHA KRISHNAN24-Sep-08 1:20 

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.