Click here to Skip to main content
15,906,626 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Memory Management Problem C++ (malloc & free) Pin
dehseth5-May-08 1:12
dehseth5-May-08 1:12 
AnswerRe: Memory Management Problem C++ (malloc & free) Pin
jhwurmbach4-May-08 21:36
jhwurmbach4-May-08 21:36 
AnswerRe: Memory Management Problem C++ (malloc & free) Pin
CPallini4-May-08 21:41
mveCPallini4-May-08 21:41 
GeneralRe: Memory Management Problem C++ (malloc & free) Pin
dehseth5-May-08 0:45
dehseth5-May-08 0:45 
QuestionRe: Memory Management Problem C++ (malloc & free) Pin
David Crow5-May-08 3:34
David Crow5-May-08 3:34 
AnswerRe: Memory Management Problem C++ (malloc & free) Pin
dehseth5-May-08 6:05
dehseth5-May-08 6:05 
GeneralRe: Memory Management Problem C++ (malloc & free) Pin
David Crow5-May-08 6:17
David Crow5-May-08 6:17 
QuestionUse Date/Time in SQL statement Pin
includeh104-May-08 20:29
includeh104-May-08 20:29 
CString csSql= "update [MY_TABLE]"
" set"
" STRING_0 = \'hello\', "
" TIME_0 = \'02/30/2008 12:5:7\'"
" where"
" TABLE_ID = 10"
" and ITEM_ID = 100"
" and TIME_0 = \'01/24/2008 7:10:33\'"
;

//===============================================
When the SQL is executed, an error says:
Data type mismatch in criteral expression (3464)
//===============================================

when I delete last line of the SQL statement
" and TIME_0 = \'01/24/2008 7:10:33\'"
the SQL statement becomes OK.

type of field TIME_0 is Date/Time.

what is wrong?
any sample code for using Date/Time in 'where' of 'update ... set ...' statement?

thanks
QuestionRe: Use Date/Time in SQL statement Pin
Rajesh R Subramanian4-May-08 20:41
professionalRajesh R Subramanian4-May-08 20:41 
AnswerRe: Use Date/Time in SQL statement Pin
Ozer Karaagac5-May-08 0:03
professionalOzer Karaagac5-May-08 0:03 
QuestionNeed a solution in adding activeX controls in MFC dialog.... Pin
Khathar4-May-08 19:37
Khathar4-May-08 19:37 
AnswerRe: Need a solution in adding activeX controls in MFC dialog.... Pin
Hamid_RT4-May-08 19:43
Hamid_RT4-May-08 19:43 
AnswerRe: Need a solution in adding activeX controls in MFC dialog.... Pin
Rajkumar R4-May-08 20:57
Rajkumar R4-May-08 20:57 
Questioncreating a status bar in VC++,MFC Pin
Mohanraj D4-May-08 18:47
Mohanraj D4-May-08 18:47 
AnswerRe: creating a status bar in VC++,MFC Pin
Hamid_RT4-May-08 19:07
Hamid_RT4-May-08 19:07 
GeneralRe: creating a status bar in VC++,MFC Pin
Mohanraj D4-May-08 19:27
Mohanraj D4-May-08 19:27 
GeneralRe: creating a status bar in VC++,MFC Pin
Nitheesh George4-May-08 19:32
Nitheesh George4-May-08 19:32 
GeneralRe: creating a status bar in VC++,MFC Pin
Mohanraj D4-May-08 20:01
Mohanraj D4-May-08 20:01 
GeneralRe: creating a status bar in VC++,MFC Pin
Hamid_RT4-May-08 20:33
Hamid_RT4-May-08 20:33 
GeneralRe: creating a status bar in VC++,MFC Pin
Rajkumar R4-May-08 21:31
Rajkumar R4-May-08 21:31 
QuestionRe: creating a status bar in VC++,MFC Pin
David Crow5-May-08 3:31
David Crow5-May-08 3:31 
QuestionHow to send message to a child window Pin
Nitheesh George4-May-08 18:20
Nitheesh George4-May-08 18:20 
AnswerRe: How to send message to a child window Pin
Hamid_RT4-May-08 19:08
Hamid_RT4-May-08 19:08 
GeneralRe: How to send message to a child window Pin
Nitheesh George4-May-08 19:11
Nitheesh George4-May-08 19:11 
AnswerRe: How to send message to a child window Pin
ThatsAlok4-May-08 23:53
ThatsAlok4-May-08 23:53 

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.