Click here to Skip to main content
15,907,225 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionI have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 5:50
Mohamed_Khalil13-Oct-09 5:50 
QuestionRe: I have problem with C for passing ARGS to main function in LINUX Pin
David Crow13-Oct-09 6:20
David Crow13-Oct-09 6:20 
AnswerRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 6:25
Mohamed_Khalil13-Oct-09 6:25 
AnswerRe: I have problem with C for passing ARGS to main function in LINUX Pin
David Crow13-Oct-09 6:28
David Crow13-Oct-09 6:28 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 6:33
Mohamed_Khalil13-Oct-09 6:33 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 6:39
Mohamed_Khalil13-Oct-09 6:39 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
David Crow13-Oct-09 6:43
David Crow13-Oct-09 6:43 
AnswerRe: I have problem with C for passing ARGS to main function in LINUX Pin
Richard MacCutchan13-Oct-09 6:39
mveRichard MacCutchan13-Oct-09 6:39 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 6:53
Mohamed_Khalil13-Oct-09 6:53 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Richard MacCutchan13-Oct-09 7:04
mveRichard MacCutchan13-Oct-09 7:04 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 7:10
Mohamed_Khalil13-Oct-09 7:10 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Richard MacCutchan13-Oct-09 7:20
mveRichard MacCutchan13-Oct-09 7:20 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 7:25
Mohamed_Khalil13-Oct-09 7:25 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Mohamed_Khalil13-Oct-09 7:29
Mohamed_Khalil13-Oct-09 7:29 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Richard MacCutchan13-Oct-09 9:12
mveRichard MacCutchan13-Oct-09 9:12 
GeneralRe: I have problem with C for passing ARGS to main function in LINUX Pin
Bram van Kampen13-Oct-09 12:58
Bram van Kampen13-Oct-09 12:58 
QuestionLOGINREC problem...IN VISTA machine under VS-2008 Pin
Vetukuri Raju13-Oct-09 5:48
Vetukuri Raju13-Oct-09 5:48 
AnswerRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
«_Superman_»13-Oct-09 9:10
professional«_Superman_»13-Oct-09 9:10 
GeneralRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
Vetukuri Raju13-Oct-09 22:15
Vetukuri Raju13-Oct-09 22:15 
GeneralRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
«_Superman_»14-Oct-09 7:32
professional«_Superman_»14-Oct-09 7:32 
GeneralRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
Vetukuri Raju13-Oct-09 22:15
Vetukuri Raju13-Oct-09 22:15 
AnswerRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
Bram van Kampen13-Oct-09 13:09
Bram van Kampen13-Oct-09 13:09 
GeneralRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
Vetukuri Raju14-Oct-09 6:04
Vetukuri Raju14-Oct-09 6:04 
GeneralRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
Bram van Kampen14-Oct-09 10:20
Bram van Kampen14-Oct-09 10:20 
GeneralRe: LOGINREC problem...IN VISTA machine under VS-2008 Pin
Vetukuri Raju22-Oct-09 1:41
Vetukuri Raju22-Oct-09 1:41 
hi sorry for the late reply....

i tried like this

if ((login = dblogin ()) == NULL)
return (DBPROCESS NEAR *) NULL;

DBSETLHOST (login, _dbhost);
DBSETLUSER (login, li->dbid);
DBSETLPWD (login, li->dbpwd);
DBSETLAPP (login, app);

try
{
dbproc = dbopen (login, li->dbsrv);
}
catch(..)
{
some code.....
}

dbopen is a Sybase function,in which the control is going(when calling dbopen() function)
But the control is not comming back to handle the exception..

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.