Click here to Skip to main content
15,920,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: creating sidebar like vista sidebar for XP Pin
Cool_Dev1-Sep-10 3:50
Cool_Dev1-Sep-10 3:50 
AnswerRe: creating sidebar like vista sidebar for XP Pin
Chris Losinger1-Sep-10 4:28
professionalChris Losinger1-Sep-10 4:28 
QuestionImplementing timeout in downloading a webpage Pin
learningvisualc1-Sep-10 2:40
learningvisualc1-Sep-10 2:40 
AnswerRe: Implementing timeout in downloading a webpage Pin
CPallini1-Sep-10 2:58
mveCPallini1-Sep-10 2:58 
QuestionIf I want to achive the SMTP protocol, how can I do Pin
yu-jian1-Sep-10 2:22
yu-jian1-Sep-10 2:22 
AnswerRe: If I want to achive the SMTP protocol, how can I do Pin
Emilio Garavaglia1-Sep-10 2:33
Emilio Garavaglia1-Sep-10 2:33 
AnswerRe: If I want to achive the SMTP protocol, how can I do Pin
CPallini1-Sep-10 2:42
mveCPallini1-Sep-10 2:42 
AnswerRe: If I want to achive the SMTP protocol, how can I do Pin
Moak1-Sep-10 5:24
Moak1-Sep-10 5:24 
QuestionDate Pin
Bijo Pulikkottil1-Sep-10 2:19
Bijo Pulikkottil1-Sep-10 2:19 
AnswerRe: Date Pin
Cedric Moonen1-Sep-10 2:38
Cedric Moonen1-Sep-10 2:38 
AnswerRe: Date Pin
Cool_Dev1-Sep-10 2:45
Cool_Dev1-Sep-10 2:45 
GeneralRe: Date Pin
Bijo Pulikkottil1-Sep-10 3:20
Bijo Pulikkottil1-Sep-10 3:20 
GeneralRe: Date Pin
Cedric Moonen1-Sep-10 3:22
Cedric Moonen1-Sep-10 3:22 
QuestionRe: Date Pin
David Crow1-Sep-10 4:30
David Crow1-Sep-10 4:30 
QuestionError :: 0x800706F7 "the stub received bad data" in Excel Automation. Pin
Le@rner1-Sep-10 1:07
Le@rner1-Sep-10 1:07 
RantRe: Error :: 0x800706F7 "the stub received bad data" in Excel Automation. Pin
Cool_Dev1-Sep-10 2:37
Cool_Dev1-Sep-10 2:37 
GeneralRe: Error :: 0x800706F7 "the stub received bad data" in Excel Automation. Pin
Le@rner2-Sep-10 0:23
Le@rner2-Sep-10 0:23 
QuestionCannot create DSN name Pin
raju_shiva1-Sep-10 0:49
raju_shiva1-Sep-10 0:49 
QuestionRe: Cannot create DSN name Pin
CPallini1-Sep-10 2:09
mveCPallini1-Sep-10 2:09 
AnswerRe: Cannot create DSN name Pin
raju_shiva1-Sep-10 18:10
raju_shiva1-Sep-10 18:10 
GeneralRe: Cannot create DSN name Pin
CPallini1-Sep-10 21:21
mveCPallini1-Sep-10 21:21 
GeneralRe: Cannot create DSN name Pin
raju_shiva2-Sep-10 0:11
raju_shiva2-Sep-10 0:11 
Hi sir.

CPallini wrote:
an associated *pfErrorCode value can be obtained by calling SQLInstallerError


I am not getting how to get the errorcode.I am trying as below

bool aDSNCreated = false;
//char *str;// = "asdasdsd\0";	
RETCODE retcode= SQL_SUCCESS;
aDSNCreated = SQLConfigDataSource(NULL, ODBC_ADD_SYS_DSN, _T("Microsoft Access Driver (*.mdb)\0"), _T("DSN=SAMPLEE\0DBQ=D:\\SAMPLE.mdb\0")); 
printf("%d",aDSNCreated );
if(aDSNCreated == false)
{
	retcode = SQLInstallerError(2, NULL,NULL,100,NULL);
         
}


I am not getting wat paramaters to send and return the error code..

please help me out.

Sorry i know its a very silly question.


Thanks
Raj
GeneralRe: Cannot create DSN name Pin
CPallini2-Sep-10 0:38
mveCPallini2-Sep-10 0:38 
GeneralRe: Cannot create DSN name Pin
raju_shiva2-Sep-10 1:45
raju_shiva2-Sep-10 1:45 
GeneralRe: Cannot create DSN name Pin
CPallini2-Sep-10 2:11
mveCPallini2-Sep-10 2:11 

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.