Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhere's the toolbar? Pin
Vikram A Punathambekar29-Mar-03 18:25
Vikram A Punathambekar29-Mar-03 18:25 
AnswerRe: Where's the toolbar? Pin
Jibesh29-Mar-03 19:12
professionalJibesh29-Mar-03 19:12 
GeneralRe: Where's the toolbar? Pin
Vikram A Punathambekar29-Mar-03 20:14
Vikram A Punathambekar29-Mar-03 20:14 
GeneralOpenGL Pin
73Zeppelin29-Mar-03 17:03
73Zeppelin29-Mar-03 17:03 
GeneralRe: OpenGL Pin
567890123429-Mar-03 22:21
567890123429-Mar-03 22:21 
GeneralRe: OpenGL Pin
Moak30-Mar-03 2:41
Moak30-Mar-03 2:41 
GeneralRe: OpenGL [modified] Pin
Per Söderlund7-Sep-10 21:44
Per Söderlund7-Sep-10 21:44 
QuestionHelp me...How to handler errors? Pin
_skidrow_vn_29-Mar-03 16:55
_skidrow_vn_29-Mar-03 16:55 
I use VC6 with non-MFC

In MyApp, I use API functions about ODBC to process a database file (MDB) such as: SELECT, INSERT, UPDATE, DELETE, CREATE_TABLE
Sometime, when I run (debug) App, a Error MessageBox occur to inform about a error, which relate to ODBC (such as: error in ODBCJT32.DLL ....) and MyApp terminate
With VB, I only put a line 'On Error Resume Next' but with VC, I don't know how to handle this error problem.
Can you show me a way to handle error, I mean: when App encounter a error then it inform to user by Error MessageBox and run continue...
and..... how can i find what function cause error (such as: error in line 356, by SQLExecDirect() function)
Thank you so much!


Because...... I use SystemParametersInfo() to setting some features of Windows(XPpro) and when MyApp encounter a Error, it's forced to terminate so that I can't recover original values back to System (I recover SysParams when DestroyWindow) >> very serious problem >> All windows in OS are affected!!!!!!!............

Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused:

Skid Row never die
GeneralNumber of Copies Not Working Pin
Jack Puppy29-Mar-03 15:43
Jack Puppy29-Mar-03 15:43 
GeneralRe: Number of Copies Not Working Pin
Bartosz Bien30-Mar-03 11:35
Bartosz Bien30-Mar-03 11:35 
GeneralMFC - CFontDialog Pin
Anonymous29-Mar-03 12:52
Anonymous29-Mar-03 12:52 
GeneralRe: MFC - CFontDialog Pin
Gary R. Wheeler29-Mar-03 13:49
Gary R. Wheeler29-Mar-03 13:49 
Questiondisabling rightclicks? Pin
dot1ne29-Mar-03 12:14
dot1ne29-Mar-03 12:14 
Generaldll with dialog Pin
pnpfriend29-Mar-03 11:18
pnpfriend29-Mar-03 11:18 
GeneralRe: dll with dialog Pin
valikac29-Mar-03 14:13
valikac29-Mar-03 14:13 
Generalsnip9707 Pin
John R. Shaw29-Mar-03 10:26
John R. Shaw29-Mar-03 10:26 
GeneralSimple Double Buffering Pin
Robert A29-Mar-03 9:37
Robert A29-Mar-03 9:37 
GeneralRe: Simple Double Buffering Pin
PJ Arends29-Mar-03 9:49
professionalPJ Arends29-Mar-03 9:49 
GeneralRe: Simple Double Buffering Pin
Brad Bruce29-Mar-03 9:59
Brad Bruce29-Mar-03 9:59 
Generalnumber of decimals in integer Pin
Jan Hirak29-Mar-03 7:54
Jan Hirak29-Mar-03 7:54 
GeneralRe: number of decimals in integer Pin
PJ Arends29-Mar-03 9:12
professionalPJ Arends29-Mar-03 9:12 
GeneralRe: number of decimals in integer Pin
Mike Nordell29-Mar-03 15:38
Mike Nordell29-Mar-03 15:38 
GeneralRe: number of decimals in integer Pin
Gary R. Wheeler30-Mar-03 6:02
Gary R. Wheeler30-Mar-03 6:02 
GeneralRe: number of decimals in integer Pin
Gary R. Wheeler30-Mar-03 5:59
Gary R. Wheeler30-Mar-03 5:59 
GeneralPerformance Counter Pin
Luis Ricardo29-Mar-03 7:48
Luis Ricardo29-Mar-03 7:48 

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.