Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Cannot create DSN name Pin
raju_shiva2-Sep-10 19:00
raju_shiva2-Sep-10 19:00 
QuestionStore a point within rect Pin
mesajflaviu1-Sep-10 0:37
mesajflaviu1-Sep-10 0:37 
AnswerRe: Store a point within rect Pin
CPallini1-Sep-10 0:48
mveCPallini1-Sep-10 0:48 
Questiontypdef struct MFC [modified] Pin
mesajflaviu31-Aug-10 20:45
mesajflaviu31-Aug-10 20:45 
AnswerRe: typdef struct MFC Pin
Eugen Podsypalnikov31-Aug-10 21:02
Eugen Podsypalnikov31-Aug-10 21:02 
GeneralRe: typdef struct MFC Pin
mesajflaviu31-Aug-10 21:15
mesajflaviu31-Aug-10 21:15 
GeneralRe: typdef struct MFC Pin
CPallini31-Aug-10 21:26
mveCPallini31-Aug-10 21:26 
AnswerRe: typdef struct MFC Pin
Cedric Moonen31-Aug-10 21:02
Cedric Moonen31-Aug-10 21:02 
GeneralRe: typdef struct MFC Pin
mesajflaviu31-Aug-10 22:53
mesajflaviu31-Aug-10 22:53 
GeneralRe: typdef struct MFC Pin
mesajflaviu31-Aug-10 22:59
mesajflaviu31-Aug-10 22:59 
GeneralRe: typdef struct MFC Pin
Cedric Moonen31-Aug-10 23:06
Cedric Moonen31-Aug-10 23:06 
GeneralRe: typdef struct MFC Pin
Cedric Moonen31-Aug-10 23:02
Cedric Moonen31-Aug-10 23:02 
QuestionRe: typdef struct MFC Pin
CPallini31-Aug-10 23:06
mveCPallini31-Aug-10 23:06 
AnswerRe: typdef struct MFC Pin
mesajflaviu1-Sep-10 0:33
mesajflaviu1-Sep-10 0:33 

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.