Hallo people,
I'am a Delphi fan but now i have to work i C++ 6.
I have one problem with calling CALLPROCEDURE in DOA.
I read some topics on your website about this issue but it still doesn't WORK.
Here is my problem:
These are the parameters in ORACLE
------------------------------------
PROCEDURE INIT
(P_CHARGEID IN e_charges.chargeid%type
,P_CHARGETEMPID OUT e_chargestemp.chargetempid%type
,P_ERRCODE OUT NUMBER
,P_ERRMSG OUT VARCHAR2
,P_COMMIT IN BOOLEAN := TRUE
)
IS
------------------------
This is what i use to call this procedure:
Variant Params[]= {"P_CHARGEID", charge_id};
dmMain->opgHMG->CallProcedure("INIT",EXISTINGARRAY(Params));
charge_temp = dmMain->opgHMG->GetFloatVariable("P_CHARGETEMPID");
ErrCode = dmMain->opgHMG->GetFloatVariable("P_ERRCODE");
Errmsg = dmMain->opgHMG->GetStringVariable("P_ERRMSG");
PLEASE TELL ME WHAT IS WRONG!!!!
I'am a Delphi fan but now i have to work i C++ 6.
I have one problem with calling CALLPROCEDURE in DOA.
I read some topics on your website about this issue but it still doesn't WORK.
Here is my problem:
These are the parameters in ORACLE
------------------------------------
PROCEDURE INIT
(P_CHARGEID IN e_charges.chargeid%type
,P_CHARGETEMPID OUT e_chargestemp.chargetempid%type
,P_ERRCODE OUT NUMBER
,P_ERRMSG OUT VARCHAR2
,P_COMMIT IN BOOLEAN := TRUE
)
IS
------------------------
This is what i use to call this procedure:
Variant Params[]= {"P_CHARGEID", charge_id};
dmMain->opgHMG->CallProcedure("INIT",EXISTINGARRAY(Params));
charge_temp = dmMain->opgHMG->GetFloatVariable("P_CHARGETEMPID");
ErrCode = dmMain->opgHMG->GetFloatVariable("P_ERRCODE");
Errmsg = dmMain->opgHMG->GetStringVariable("P_ERRMSG");
PLEASE TELL ME WHAT IS WRONG!!!!