Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to Count The Number Of Records In An Access Database [modified] Pin
jadhavjitendrar10-Sep-09 20:10
jadhavjitendrar10-Sep-09 20:10 
AnswerRe: how to Count The Number Of Records In An Access Database Pin
CPallini10-Sep-09 21:04
mveCPallini10-Sep-09 21:04 
GeneralRe: how to Count The Number Of Records In An Access Database Pin
norish10-Sep-09 21:36
norish10-Sep-09 21:36 
Questionwhat is _T("\\sample")??? Pin
gunjan ga10-Sep-09 20:03
gunjan ga10-Sep-09 20:03 
AnswerRe: what is _T("\\sample")??? Pin
Stuart Dootson10-Sep-09 20:30
professionalStuart Dootson10-Sep-09 20:30 
GeneralRe: what is _T("\\sample")??? Pin
gunjan ga10-Sep-09 21:09
gunjan ga10-Sep-09 21:09 
GeneralRe: what is _T("\\sample")??? Pin
CPallini10-Sep-09 21:16
mveCPallini10-Sep-09 21:16 
AnswerRe: what is _T("\\sample")??? Pin
Adam Roderick J10-Sep-09 20:51
Adam Roderick J10-Sep-09 20:51 
_T( ) is actually a macro, which expand on the basis of the UNICODE, _UNICODE, _MBCS macro, if nothing then ASCII is used.

if it is unicode then it will be 4 bytes long. otherwise 1 byte
expansion is like below
#ifdef _UNICODE
#define _T(x) L ## x
#else /* _UNICODE */
#define _T(x) x
#endif /* _UNICODE */

if preprocessor directive _UNICODE is defined, _T("ABDC") expands to the string prefixed by L (L"ABDC") its a long value so every character having a size of 4 bytes, otherwise it just expands to the original string ("ABDC") so every character is just 1 byte.

Величие не Бога может быть недооценена.

GeneralRe: what is _T("\\sample")??? Pin
gunjan ga11-Sep-09 0:06
gunjan ga11-Sep-09 0:06 
GeneralRe: what is _T("\\sample")??? Pin
Code-o-mat11-Sep-09 0:49
Code-o-mat11-Sep-09 0:49 
QuestionConvert from int to user-defined type. Pin
Sauce!10-Sep-09 19:09
Sauce!10-Sep-09 19:09 
AnswerRe: Convert from int to user-defined type. Pin
Adam Roderick J10-Sep-09 19:47
Adam Roderick J10-Sep-09 19:47 
GeneralRe: Convert from int to user-defined type. Pin
Sauce!10-Sep-09 20:09
Sauce!10-Sep-09 20:09 
QuestionRe: Convert from int to user-defined type. Pin
Adam Roderick J10-Sep-09 22:51
Adam Roderick J10-Sep-09 22:51 
GeneralRe: Convert from int to user-defined type. Pin
David Crow11-Sep-09 3:59
David Crow11-Sep-09 3:59 
AnswerRe: Convert from int to user-defined type. Pin
Stuart Dootson10-Sep-09 20:31
professionalStuart Dootson10-Sep-09 20:31 
GeneralRe: Convert from int to user-defined type. Pin
Sauce!10-Sep-09 20:48
Sauce!10-Sep-09 20:48 
AnswerRe: Convert from int to user-defined type. Pin
norish10-Sep-09 21:19
norish10-Sep-09 21:19 
GeneralRe: Convert from int to user-defined type. Pin
Sauce!10-Sep-09 22:39
Sauce!10-Sep-09 22:39 
AnswerRe: Convert from int to user-defined type. Pin
norish11-Sep-09 3:51
norish11-Sep-09 3:51 
QuestionHow to use CListCtrl to handle message Pin
jinjiashan10-Sep-09 17:02
jinjiashan10-Sep-09 17:02 
AnswerRe: How to use CListCtrl to handle message Pin
Naveen10-Sep-09 17:29
Naveen10-Sep-09 17:29 
GeneralRe: How to use CListCtrl to handle message Pin
jinjiashan10-Sep-09 20:50
jinjiashan10-Sep-09 20:50 
GeneralRe: How to use CListCtrl to handle message Pin
Naveen10-Sep-09 22:59
Naveen10-Sep-09 22:59 
GeneralRe: How to use CListCtrl to handle message Pin
jinjiashan11-Sep-09 0:45
jinjiashan11-Sep-09 0:45 

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.