Click here to Skip to main content
15,919,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhat is The difference in .DLL ???? Pin
GauranG Shah13-Sep-07 21:28
GauranG Shah13-Sep-07 21:28 
AnswerRe: What is The difference in .DLL ???? Pin
Cedric Moonen13-Sep-07 21:54
Cedric Moonen13-Sep-07 21:54 
AnswerRe: What is The difference in .DLL ???? Pin
nbugalia13-Sep-07 22:00
nbugalia13-Sep-07 22:00 
QuestionSearch node in TreeView Pin
paresh_joe13-Sep-07 21:02
paresh_joe13-Sep-07 21:02 
AnswerRe: Search node in TreeView Pin
nbugalia13-Sep-07 21:23
nbugalia13-Sep-07 21:23 
AnswerRe: Search node in TreeView Pin
Nishad S13-Sep-07 21:28
Nishad S13-Sep-07 21:28 
GeneralRe: Search node in TreeView Pin
paresh_joe13-Sep-07 21:32
paresh_joe13-Sep-07 21:32 
QuestionConnection Error Pin
Programm3r13-Sep-07 20:37
Programm3r13-Sep-07 20:37 
Hi all,

I'm trying to connect to an Oracle database, with the following function:
...
	ret = SQLConnect(m_hDbc, 
					(SQLCHAR*)szDSN, 
					strlen(szDSN), 
					(SQLCHAR*)szUser, 
					strlen(szUser),
					(SQLCHAR*)szPass, 
					strlen(szPass));
...


But I keep recieving the following error:
[Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified


I have added the entry to the tnsnames.ora file, and checked the "tnsping" using TNS service name, which worked.

Can anyone please help?
Many Thanks in advacne

Regards,


The only programmers that are better that C programmers are those who code in 1's and 0's Green Alien | [Alien]

Smile | :) Programm3r

My Blog: ^_^

AnswerRe: Connection Error Pin
p_13-Sep-07 23:35
p_13-Sep-07 23:35 
QuestionHow to get the byte order of a computer? Pin
kcynic13-Sep-07 20:01
kcynic13-Sep-07 20:01 
AnswerRe: How to get the byte order of a computer? Pin
Azteke13-Sep-07 20:06
Azteke13-Sep-07 20:06 
GeneralRe: How to get the byte order of a computer? Pin
kcynic13-Sep-07 22:23
kcynic13-Sep-07 22:23 
GeneralRe: How to get the byte order of a computer? Pin
Maxwell Chen13-Sep-07 22:32
Maxwell Chen13-Sep-07 22:32 
GeneralRe: How to get the byte order of a computer? Pin
David Crow14-Sep-07 3:22
David Crow14-Sep-07 3:22 
AnswerRe: How to get the byte order of a computer? [modified] Pin
kakan13-Sep-07 20:48
professionalkakan13-Sep-07 20:48 
GeneralRe: How to get the byte order of a computer? Pin
Maxwell Chen13-Sep-07 22:30
Maxwell Chen13-Sep-07 22:30 
GeneralRe: How to get the byte order of a computer? Pin
kakan13-Sep-07 23:28
professionalkakan13-Sep-07 23:28 
GeneralRe: How to get the byte order of a computer? Pin
Azteke14-Sep-07 18:10
Azteke14-Sep-07 18:10 
QuestionReading microphone input Pin
Azteke13-Sep-07 19:35
Azteke13-Sep-07 19:35 
AnswerRe: Reading microphone input Pin
Russell'13-Sep-07 22:04
Russell'13-Sep-07 22:04 
GeneralRe: Reading microphone input Pin
Azteke14-Sep-07 18:12
Azteke14-Sep-07 18:12 
GeneralRe: Reading microphone input Pin
Russell'14-Sep-07 22:25
Russell'14-Sep-07 22:25 
QuestionReg. Structure variable [modified] Pin
rajaratk13-Sep-07 19:22
rajaratk13-Sep-07 19:22 
AnswerRe: Reg. Structure variable Pin
Nishad S13-Sep-07 20:23
Nishad S13-Sep-07 20:23 
GeneralRe: Reg. Structure variable Pin
rajaratk13-Sep-07 22:47
rajaratk13-Sep-07 22:47 

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.