Click here to Skip to main content
15,916,280 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDrop-Down toolbar Pin
shyampriya26-Nov-03 22:56
shyampriya26-Nov-03 22:56 
GeneralTemplate class in a vector Pin
Jerome Conus26-Nov-03 22:35
Jerome Conus26-Nov-03 22:35 
GeneralRe: Template class in a vector Pin
Mike Dimmick27-Nov-03 2:01
Mike Dimmick27-Nov-03 2:01 
GeneralOutlook Express please help Pin
Jump_Around26-Nov-03 21:57
Jump_Around26-Nov-03 21:57 
GeneralSpawning error Pin
Cedric Moonen26-Nov-03 21:51
Cedric Moonen26-Nov-03 21:51 
GeneralRe: Spawning error Pin
Prakash Nadar26-Nov-03 23:47
Prakash Nadar26-Nov-03 23:47 
GeneralRe: Spawning error Pin
Cedric Moonen26-Nov-03 23:57
Cedric Moonen26-Nov-03 23:57 
GeneralVisual C++ 6 and Oracle rman Pin
steffen241226-Nov-03 21:16
steffen241226-Nov-03 21:16 
Hi!

I have a problem. I will connect to rman with visual c++ 6. the code is

sConnect.Format("%s/%s@%s",sUser,sPW,sDB);
char *pConnect = new char[sConnect.GetLength()+1];
strcpy(pConnect, sConnect);
nError = _spawnlp(_P_WAIT, "rman", "rman", "target",pConnect, NULL);

It works. But now I want to write commands to the rman console but it don't work. My code is

sConfigure.Format("Configure default device type to %s;",sTyp);
char *pConfigure = new char[sConfigure.GetLength()+1];
strcpy(pConfigure, sConfigure);
nError = _spawnlp(_P_WAIT, pConfigure, NULL);

The programm don't wrie the command "configure default device type to disk" in the console.
Can somebody help me how I can write commands in the rman console?
Thx!!!


GeneralI need your suggestions of building a network scan tool. Pin
mctpursuer26-Nov-03 20:56
mctpursuer26-Nov-03 20:56 
QuestionPrinter DC? Pin
murali_utr26-Nov-03 20:33
murali_utr26-Nov-03 20:33 
AnswerRe: Printer DC? Pin
Roger Allen27-Nov-03 3:36
Roger Allen27-Nov-03 3:36 
Questionabababab() - what to do? Pin
dennisV26-Nov-03 18:59
dennisV26-Nov-03 18:59 
AnswerRe: abababab() - what to do? Pin
Prakash Nadar26-Nov-03 21:33
Prakash Nadar26-Nov-03 21:33 
GeneralRe: abababab() - what to do? Pin
dennisV26-Nov-03 21:40
dennisV26-Nov-03 21:40 
GeneralRe: abababab() - what to do? Pin
Prakash Nadar26-Nov-03 23:53
Prakash Nadar26-Nov-03 23:53 
GeneralRe: abababab() - what to do? Pin
dennisV26-Nov-03 23:58
dennisV26-Nov-03 23:58 
GeneralRe: abababab() - what to do? Pin
Prakash Nadar27-Nov-03 0:58
Prakash Nadar27-Nov-03 0:58 
GeneralRe: abababab() - what to do? Pin
dennisV27-Nov-03 1:17
dennisV27-Nov-03 1:17 
GeneralRe: abababab() - what to do? Pin
фил27-Nov-03 3:07
фил27-Nov-03 3:07 
GeneralRe: abababab() - what to do? Pin
dennisV27-Nov-03 12:18
dennisV27-Nov-03 12:18 
AnswerRe: abababab() - what to do? Pin
Mike Dimmick27-Nov-03 2:29
Mike Dimmick27-Nov-03 2:29 
GeneralRe: abababab() - what to do? Pin
dennisV27-Nov-03 12:08
dennisV27-Nov-03 12:08 
QuestionHow to Restrict floating of Dockable window Pin
Kashish Kumar26-Nov-03 18:16
Kashish Kumar26-Nov-03 18:16 
Generalexec output Pin
marouane miftah el kheir26-Nov-03 17:33
marouane miftah el kheir26-Nov-03 17:33 
GeneralRe: exec output Pin
Johnny ²26-Nov-03 21:44
Johnny ²26-Nov-03 21:44 

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.