Click here to Skip to main content
15,901,426 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: srvice modeRun Project in Service mode Pin
kakan10-Nov-05 1:51
professionalkakan10-Nov-05 1:51 
Questionname of the device Pin
viliam10-Nov-05 0:07
viliam10-Nov-05 0:07 
QuestionHow to scroll text ? Pin
Amarelia10-Nov-05 0:02
Amarelia10-Nov-05 0:02 
AnswerRe: How to scroll text ? Pin
toxcct10-Nov-05 0:08
toxcct10-Nov-05 0:08 
AnswerRe: How to scroll text ? Pin
S Douglas10-Nov-05 1:38
professionalS Douglas10-Nov-05 1:38 
AnswerRe: How to scroll text ? Pin
Mathieu Dijkstra10-Nov-05 2:06
Mathieu Dijkstra10-Nov-05 2:06 
AnswerRe: How to scroll text ? Pin
John R. Shaw10-Nov-05 18:52
John R. Shaw10-Nov-05 18:52 
Questionhow to call store procedure of informix with VC6(ado+odbc) Pin
sexypipe9-Nov-05 22:49
sexypipe9-Nov-05 22:49 
i try to use vc6 call the informix'sp,
but the odbc raise Exception "code=80004005,Description=[Informix][Informix ODBC Driver][Informix]Routine (get_callback_info) can not be resolved."

plz help me?
what is the right way?

my code is:
CREATE PROCEDURE get_callback_info(stt char(40))
RETURNING char(40);

END PROCEDURE
---------------------------------------
vtInValue.vt=VT_BSTR;
vtInValue.bstrVal=_bstr_t("someinfo");

_ParameterPtr pParamIn;
pParamIn.CreateInstance("ADODB.Parameter");
//pParamIn=m_pCommand->CreateParameter("str1",adBSTR,adParamInput,40,vtInValue);
pParamIn->Name="stt";
pParamIn->Type=adChar;
pParamIn->Direction=adParamInput;
pParamIn->Size=40;
pParamIn->Value=vtInValue;

m_pCommand->Parameters->Append(pParamIn);


//return value
_ParameterPtr pParamOut;
pParamOut.CreateInstance("ADODB.Parameter");
//pParamOut=m_pCommand->CreateParameter("s_mainid",adChar,adParamReturnValue,40,vtOutValue);

pParamOut->Name="s_mainid"; //param 2
pParamOut->Type=adChar;
pParamOut->Size=40;
pParamOut->Direction=adParamReturnValue; //output
pParamOut->Value=vtOutValue;
m_pCommand->Parameters->Append(pParamOut);
long iCount=m_pCommand->Parameters->GetCount();
//exec

m_pCommand->ActiveConnection=m_pConnection;

pRecordSet=m_pCommand->Execute(NULL, NULL, NULL);

pRecordSet->MoveFirst();
vtOutValue=pRecordSet->GetCollect("s_mainid");
Questionhelp help pls ( extended mapi) Pin
deepgeorge9-Nov-05 22:49
deepgeorge9-Nov-05 22:49 
QuestionCrystal Report 10 add parameter Pin
AkiraOne9-Nov-05 22:38
AkiraOne9-Nov-05 22:38 
Questionto set focus in a tree item Pin
narayanagvs9-Nov-05 22:37
narayanagvs9-Nov-05 22:37 
AnswerRe: to set focus in a tree item Pin
*Dreamz9-Nov-05 23:43
*Dreamz9-Nov-05 23:43 
GeneralRe: to set focus in a tree item Pin
toxcct10-Nov-05 0:47
toxcct10-Nov-05 0:47 
GeneralRe: to set focus in a tree item Pin
*Dreamz10-Nov-05 1:14
*Dreamz10-Nov-05 1:14 
QuestionVC++ Certification Exams??? Pin
mandanani9-Nov-05 22:37
mandanani9-Nov-05 22:37 
QuestionHow to format double with CString::Format()? Pin
george ivanov9-Nov-05 22:29
george ivanov9-Nov-05 22:29 
AnswerRe: How to format double with CString::Format()? Pin
Bob Stanneveld9-Nov-05 22:33
Bob Stanneveld9-Nov-05 22:33 
AnswerRe: How to format double with CString::Format()? Pin
Cedric Moonen9-Nov-05 22:44
Cedric Moonen9-Nov-05 22:44 
QuestionHow to convert normal chinese code to unicode ISO 10646 code Pin
LaHaHa9-Nov-05 20:45
LaHaHa9-Nov-05 20:45 
AnswerRe: How to convert normal chinese code to unicode ISO 10646 code Pin
John R. Shaw9-Nov-05 21:26
John R. Shaw9-Nov-05 21:26 
GeneralRe: How to convert normal chinese code to unicode ISO 10646 code Pin
LaHaHa9-Nov-05 21:48
LaHaHa9-Nov-05 21:48 
GeneralRe: How to convert normal chinese code to unicode ISO 10646 code Pin
John R. Shaw9-Nov-05 22:14
John R. Shaw9-Nov-05 22:14 
GeneralRe: How to convert normal chinese code to unicode ISO 10646 code Pin
LaHaHa9-Nov-05 23:13
LaHaHa9-Nov-05 23:13 
QuestionHFONT creates wrongly sized fonts Pin
Axonn Echysttas9-Nov-05 20:27
Axonn Echysttas9-Nov-05 20:27 
GeneralRe: HFONT creates wrongly sized fonts Pin
Siarhei Alikhver9-Nov-05 20:52
Siarhei Alikhver9-Nov-05 20:52 

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.