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

C / C++ / MFC

 
GeneralRe: Access Violation problem Pin
Jonathan [Darka]27-Jul-07 0:02
professionalJonathan [Darka]27-Jul-07 0:02 
GeneralRe: Access Violation problem Pin
p_27-Jul-07 0:09
p_27-Jul-07 0:09 
GeneralRe: Access Violation problem Pin
Jonathan [Darka]27-Jul-07 0:24
professionalJonathan [Darka]27-Jul-07 0:24 
GeneralRe: Access Violation problem Pin
p_27-Jul-07 0:40
p_27-Jul-07 0:40 
GeneralRe: Access Violation problem Pin
Jonathan [Darka]27-Jul-07 0:41
professionalJonathan [Darka]27-Jul-07 0:41 
GeneralRe: Access Violation problem Pin
Shouvik Das27-Jul-07 0:06
Shouvik Das27-Jul-07 0:06 
GeneralRe: Access Violation problem Pin
p_27-Jul-07 0:35
p_27-Jul-07 0:35 
GeneralRe: Access Violation problem Pin
Shouvik Das27-Jul-07 0:45
Shouvik Das27-Jul-07 0:45 
Actually I'm not well versed with ODBC section in VC 6.0 So I m just givin u a generalized concept.
Whenever you surround any code with try catch you throw an exception which is the Object of CException Class.

try
{
//Ur record retrieval code goes here

//On error u write a logic to throw an exception object

}
catch(CException e)
{
 MessageBox(e.what()); // will contain the error message
}


So this way you can atleast trace what error are u getting.



There are only two kinds of people who are really fascinating-people who know absolutely everything, and people who know absolutely nothing.
Oscar Wilde (1854-1900)
Regards...
Shouvik

GeneralRe: Access Violation problem Pin
p_27-Jul-07 1:06
p_27-Jul-07 1:06 
GeneralRe: Access Violation problem Pin
Jonathan [Darka]27-Jul-07 1:07
professionalJonathan [Darka]27-Jul-07 1:07 
GeneralRe: Access Violation problem Pin
p_27-Jul-07 1:18
p_27-Jul-07 1:18 
GeneralRe: Access Violation problem Pin
Jonathan [Darka]27-Jul-07 1:25
professionalJonathan [Darka]27-Jul-07 1:25 
GeneralRe: Access Violation problem Pin
p_27-Jul-07 1:40
p_27-Jul-07 1:40 
GeneralRe: Access Violation problem Pin
Shouvik Das27-Jul-07 1:43
Shouvik Das27-Jul-07 1:43 
General<font colour=orange>Re: Access Violation problem</font> Pin
Shouvik Das27-Jul-07 1:38
Shouvik Das27-Jul-07 1:38 
QuestionDebug Assertion error Pin
Anu_Bala26-Jul-07 18:21
Anu_Bala26-Jul-07 18:21 
AnswerRe: Debug Assertion error Pin
Roger Broomfield26-Jul-07 20:15
Roger Broomfield26-Jul-07 20:15 
GeneralRe: Debug Assertion error Pin
Anu_Bala26-Jul-07 21:10
Anu_Bala26-Jul-07 21:10 
GeneralRe: Debug Assertion error Pin
Roger Broomfield26-Jul-07 22:19
Roger Broomfield26-Jul-07 22:19 
GeneralRe: Debug Assertion error Pin
Anu_Bala26-Jul-07 23:10
Anu_Bala26-Jul-07 23:10 
QuestionRe: Debug Assertion error Pin
Anu_Bala26-Jul-07 23:18
Anu_Bala26-Jul-07 23:18 
AnswerRe: Debug Assertion error Pin
Roger Broomfield26-Jul-07 23:35
Roger Broomfield26-Jul-07 23:35 
GeneralRe: Debug Assertion error Pin
Anu_Bala27-Jul-07 0:22
Anu_Bala27-Jul-07 0:22 
GeneralRe: Debug Assertion error Pin
Roger Broomfield27-Jul-07 0:57
Roger Broomfield27-Jul-07 0:57 
GeneralRe: Debug Assertion error Pin
Anu_Bala27-Jul-07 1:34
Anu_Bala27-Jul-07 1:34 

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.