Click here to Skip to main content
15,886,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionADsSecurity.dll [modified] Pin
narayanagvs14-Oct-07 20:04
narayanagvs14-Oct-07 20:04 
Questionabout two or more processes ReadWrite a file simultaneity? Pin
HOW WHAT14-Oct-07 19:52
HOW WHAT14-Oct-07 19:52 
AnswerRe: about two or more processes ReadWrite a file simultaneity? Pin
chandu00414-Oct-07 21:25
chandu00414-Oct-07 21:25 
GeneralRe: about two or more processes ReadWrite a file simultaneity? Pin
Naveen14-Oct-07 21:46
Naveen14-Oct-07 21:46 
GeneralRe: about two or more processes ReadWrite a file simultaneity? Pin
chandu00414-Oct-07 21:56
chandu00414-Oct-07 21:56 
AnswerRe: about two or more processes ReadWrite a file simultaneity? Pin
Naveen14-Oct-07 21:45
Naveen14-Oct-07 21:45 
QuestionAbout Windows Media Encoder SDK Pin
zakkas248314-Oct-07 18:28
zakkas248314-Oct-07 18:28 
Questiona problem about AllocSysString() Pin
nibabug14-Oct-07 17:34
nibabug14-Oct-07 17:34 
when i do write the following:
m_pRecordset->Open("CREATE TABLE MY10151109(ID INT,Hex_Fangwei TEXT,Hex_FuYang TEXT,Hex_QingXie TEXT)",
theApp.m_pConnection.GetInterfacePtr(),
adOpenDynamic,
adLockOptimistic,
adCmdText);

it runs OK;
but when i do it like this:
CString mstr;
mstr.Format("CREATE TABLE '%s'(ID INT,Hex_Fangwei TEXT,Hex_FuYang TEXT,Hex_QingXie TEXT)",TB_Name);
m_pRecordset->Open(mstr.AllocSysString(),
theApp.m_pConnection.GetInterfacePtr(),
adOpenDynamic,
adLockOptimistic,
adCmdText);

appear runtime error
who could tell me why , and what should i do?


wuhuaiji

AnswerRe: a problem about AllocSysString() Pin
chandu00414-Oct-07 21:33
chandu00414-Oct-07 21:33 
QuestionHow to pass a struct to worker thread? [modified] Pin
kuibing14-Oct-07 16:54
kuibing14-Oct-07 16:54 
AnswerRe: How to pass a struct to worker thread? Pin
David Crow14-Oct-07 16:59
David Crow14-Oct-07 16:59 
Generalthanks a lot~ Pin
kuibing14-Oct-07 17:21
kuibing14-Oct-07 17:21 
QuestionDifferent Right menu for different area Pin
Michel_Huang14-Oct-07 16:54
Michel_Huang14-Oct-07 16:54 
AnswerRe: Different Right menu for different area Pin
David Crow14-Oct-07 17:01
David Crow14-Oct-07 17:01 
AnswerRe: Different Right menu for different area Pin
kuibing14-Oct-07 17:03
kuibing14-Oct-07 17:03 
GeneralRe: Different Right menu for different area Pin
Michel_Huang14-Oct-07 17:14
Michel_Huang14-Oct-07 17:14 
AnswerRe: Different Right menu for different area Pin
Michel_Huang14-Oct-07 17:13
Michel_Huang14-Oct-07 17:13 
QuestionHow to clone a dialog Pin
s196675m14-Oct-07 13:47
s196675m14-Oct-07 13:47 
QuestionRe: How to clone a dialog Pin
David Crow14-Oct-07 17:03
David Crow14-Oct-07 17:03 
AnswerRe: How to clone a dialog Pin
s196675m14-Oct-07 17:26
s196675m14-Oct-07 17:26 
GeneralRe: How to clone a dialog Pin
Nelek14-Oct-07 21:29
protectorNelek14-Oct-07 21:29 
GeneralRe: How to clone a dialog Pin
David Crow15-Oct-07 3:18
David Crow15-Oct-07 3:18 
QuestionSnapshots via ToolHelp Pin
Richard Andrew x6414-Oct-07 10:46
professionalRichard Andrew x6414-Oct-07 10:46 
QuestionRe: Snapshots via ToolHelp Pin
David Crow14-Oct-07 17:09
David Crow14-Oct-07 17:09 
AnswerRe: Snapshots via ToolHelp Pin
Richard Andrew x6415-Oct-07 2:41
professionalRichard Andrew x6415-Oct-07 2:41 

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.