Click here to Skip to main content
15,892,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Virtual address to 'physical' address Pin
Covean12-Jan-10 4:07
Covean12-Jan-10 4:07 
AnswerRe: Virtual address to 'physical' address Pin
Nemanja Trifunovic12-Jan-10 4:34
Nemanja Trifunovic12-Jan-10 4:34 
AnswerRe: Virtual address to 'physical' address Pin
Luc Pattyn12-Jan-10 6:16
sitebuilderLuc Pattyn12-Jan-10 6:16 
AnswerRe: Virtual address to 'physical' address Pin
Bram van Kampen12-Jan-10 14:37
Bram van Kampen12-Jan-10 14:37 
GeneralRe: Virtual address to 'physical' address Pin
jbojarczuk15-Jan-10 1:58
jbojarczuk15-Jan-10 1:58 
GeneralRe: Virtual address to 'physical' address Pin
Bram van Kampen17-Jan-10 5:31
Bram van Kampen17-Jan-10 5:31 
QuestionGetlastError() returning 87 when i use EndPage() in my printing application Pin
kir_MFC11-Jan-10 20:51
kir_MFC11-Jan-10 20:51 
QuestionRe: GetlastError() returning 87 when i use EndPage() in my printing application Pin
CPallini11-Jan-10 21:41
mveCPallini11-Jan-10 21:41 
AnswerRe: GetlastError() returning 87 when i use EndPage() in my printing application Pin
kir_MFC11-Jan-10 22:24
kir_MFC11-Jan-10 22:24 
QuestionRe: GetlastError() returning 87 when i use EndPage() in my printing application Pin
CPallini11-Jan-10 22:45
mveCPallini11-Jan-10 22:45 
GeneralRe: GetlastError() returning 87 when i use EndPage() in my printing application Pin
WoutL12-Jan-10 1:08
WoutL12-Jan-10 1:08 
AnswerRe: GetlastError() returning 87 when i use EndPage() in my printing application [modified] Pin
Covean11-Jan-10 21:45
Covean11-Jan-10 21:45 
QuestionNavigating to a folder using CFileDialog Pin
maycockt11-Jan-10 20:46
maycockt11-Jan-10 20:46 
AnswerRe: Navigating to a folder using CFileDialog Pin
KingsGambit11-Jan-10 21:18
KingsGambit11-Jan-10 21:18 
AnswerRe: Navigating to a folder using CFileDialog Pin
Code-o-mat11-Jan-10 22:08
Code-o-mat11-Jan-10 22:08 
QuestionOracle describe Pin
rdop11-Jan-10 19:45
rdop11-Jan-10 19:45 
Hi All

I have a problem to use command "describe tablename" in mfc vc++."Describe tablename" is working well in oracle SQl plus.

Here is code
_ConnectionPtr m_pConn;
_RecordsetPtr pRecordset;

m_pConn->Open (_bstr_t ("Provider=OraOLEDB.Oracle;PLSQLRSet=1;Data Source=orcl"),_bstr_t ("system"), _bstr_t ("password"), adModeUnknown);
	pCommand->ActiveConnection = m_pConn;
CString fileddetail="describe supplier";
pRecordset=m_pConn->Execute(_bstr_t(fileddetail), 0, adCmdText);

Error is here
OraOLEDB Error: -2147217900 ORA-00900: invalid SQL statement IDispatch error #3092

Connection part is working well.
I know some member told me this is a DBA forum question why you post here.But one thing describe or DESC command is working well in oracle.So i think it's a question of MFC VC++.
Please help me
AnswerRe: Oracle describe Pin
xushih13-Jan-10 1:08
xushih13-Jan-10 1:08 
QuestionDiference between hash_map and hash_multi map. how to implement hash_multimap in VS2008 (for C++) Pin
Nandu_77b11-Jan-10 19:26
Nandu_77b11-Jan-10 19:26 
AnswerRe: Diference between hash_map and hash_multi map. how to implement hash_multimap in VS2008 (for C++) Pin
_AnsHUMAN_ 11-Jan-10 19:32
_AnsHUMAN_ 11-Jan-10 19:32 
GeneralRe: Diference between hash_map and hash_multi map. how to implement hash_multimap in VS2008 (for C++) Pin
Nandu_77b12-Jan-10 0:21
Nandu_77b12-Jan-10 0:21 
QuestionSplit header in clistcontrol Pin
itkid11-Jan-10 19:25
itkid11-Jan-10 19:25 
AnswerRe: Split header in clistcontrol Pin
Rolf Kristensen13-Jan-10 11:52
Rolf Kristensen13-Jan-10 11:52 
QuestionConnectivity with data base Pin
Le@rner11-Jan-10 19:03
Le@rner11-Jan-10 19:03 
AnswerRe: Connectivity with data base Pin
SandipG 11-Jan-10 20:17
SandipG 11-Jan-10 20:17 
AnswerRe: Connectivity with data base Pin
KingsGambit11-Jan-10 20:44
KingsGambit11-Jan-10 20: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.