Click here to Skip to main content
15,905,233 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: About Doc/View relation : Vc++ _Plz Help Pin
georgemarios26-Oct-05 2:51
georgemarios26-Oct-05 2:51 
GeneralRe: About Doc/View relation : Vc++ _Plz Help Pin
Cedric Moonen26-Oct-05 3:40
Cedric Moonen26-Oct-05 3:40 
GeneralRe: About Doc/View relation : Vc++ _Plz Help Pin
georgemarios26-Oct-05 6:59
georgemarios26-Oct-05 6:59 
GeneralRe: About Doc/View relation : Vc++ _Plz Help Pin
John R. Shaw26-Oct-05 16:12
John R. Shaw26-Oct-05 16:12 
GeneralRe: About Doc/View relation : Vc++ _Plz Help Pin
georgemarios26-Oct-05 16:35
georgemarios26-Oct-05 16:35 
GeneralRe: About Doc/View relation : Vc++ _Plz Help Pin
John R. Shaw26-Oct-05 18:44
John R. Shaw26-Oct-05 18:44 
AnswerRe: About Doc/View relation : Vc++ _Plz Help Pin
Eytukan26-Oct-05 3:54
Eytukan26-Oct-05 3:54 
QuestionProblem in using stored procedure with ADO Pin
snprani26-Oct-05 1:41
snprani26-Oct-05 1:41 
Hi to all,

I am having one table having 2 BLOB fields and one varchar2 field in Oracle. i am implementing my code vc++ using ADO to connect to Oracle. i am using Stored procedure to retrieve BLOB data from Oracle.

I am able to store BLOB data with Insert Command. but there is problem while using stored procedure to retrive image data.
This is my code how i am using ADO

paramUserid= pCommand->CreateParameter("p_UserID",adVarChar,adParamInput,50,_bstr_t(userid));
pCommand->Parameters->Append(paramUserid);

paramLICODE= pCommand->CreateParameter("leftcode",adLongVarBinary,adParamOutput,retLsize+5);
pCommand->Parameters->Append(paramLICODE);

paramRICODE= pCommand->CreateParameter("rightcode",adLongVarBinary,adParamOutput,retRsize+5);
pCommand->Parameters->Append(paramRICODE);

pCommand->ActiveConnection=m_pConn;
pCommand->CommandType = adCmdText;
pCommand->CommandText="{ Call getIrisCodes(?,?,?) }";
pCommand->Execute(NULL,NULL,adCmdText);

It is giving error like "Syntax error or Access violation"

I have tried that stored procedure in Oracle. it works fine. because i am able to get the length of the images. but unable to get the image data.

What should i do. Can anybody help me. Its very urgent. My whole project depends on this only.

Thanks in advance.
QuestiontHow to restrict Edit control in MFC Pin
aloktambi26-Oct-05 1:16
aloktambi26-Oct-05 1:16 
AnswerRe: tHow to restrict Edit control in MFC Pin
Chris Losinger26-Oct-05 1:28
professionalChris Losinger26-Oct-05 1:28 
AnswerRe: tHow to restrict Edit control in MFC Pin
Eytukan26-Oct-05 1:54
Eytukan26-Oct-05 1:54 
QuestionRe: tHow to restrict Edit control in MFC Pin
David Crow26-Oct-05 3:05
David Crow26-Oct-05 3:05 
QuestionEnumerating mount points on Windows 2000 Pin
Chintoo72326-Oct-05 0:56
Chintoo72326-Oct-05 0:56 
QuestionRe: Enumerating mount points on Windows 2000 Pin
David Crow26-Oct-05 3:10
David Crow26-Oct-05 3:10 
QuestionService in win2003 Pin
C V Ganesh Babu26-Oct-05 0:37
C V Ganesh Babu26-Oct-05 0:37 
QuestionActivate Caption Pin
The NULL Developer25-Oct-05 23:25
professionalThe NULL Developer25-Oct-05 23:25 
AnswerRe: Activate Caption Pin
John R. Shaw26-Oct-05 16:17
John R. Shaw26-Oct-05 16:17 
GeneralRe: Activate Caption Pin
The NULL Developer26-Oct-05 19:59
professionalThe NULL Developer26-Oct-05 19:59 
QuestionIImageDecodeEventSink Pin
Carsten Leue25-Oct-05 23:17
Carsten Leue25-Oct-05 23:17 
QuestionCalling from explicitly loaded .dll Pin
DaveDrPop25-Oct-05 22:41
DaveDrPop25-Oct-05 22:41 
AnswerRe: Calling from explicitly loaded .dll Pin
Chris Losinger26-Oct-05 1:39
professionalChris Losinger26-Oct-05 1:39 
QuestionDetect USB drive writable Pin
LiYS25-Oct-05 22:24
LiYS25-Oct-05 22:24 
AnswerRe: Detect USB drive writable Pin
kakan26-Oct-05 0:46
professionalkakan26-Oct-05 0:46 
GeneralRe: Detect USB drive writable Pin
LiYS26-Oct-05 5:32
LiYS26-Oct-05 5:32 
GeneralRe: Detect USB drive writable Pin
Blake Miller26-Oct-05 6:59
Blake Miller26-Oct-05 6:59 

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.