Click here to Skip to main content
16,006,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Child window belonging to CScrollView derived class drawing troubles Pin
567890123429-Jul-02 4:48
567890123429-Jul-02 4:48 
GeneralRe: Child window belonging to CScrollView derived class drawing troubles Pin
Alan Dugdall30-Jul-02 5:21
Alan Dugdall30-Jul-02 5:21 
GeneralImports Table for an executable Pin
pdf-wizard28-Jul-02 23:16
pdf-wizard28-Jul-02 23:16 
GeneralRe: Imports Table for an executable Pin
Anonymous28-Jul-02 23:47
Anonymous28-Jul-02 23:47 
GeneralRe: Imports Table for an executable Pin
pdf-wizard29-Jul-02 0:08
pdf-wizard29-Jul-02 0:08 
GeneralRe: Imports Table for an executable Pin
Tomasz Sowinski29-Jul-02 0:30
Tomasz Sowinski29-Jul-02 0:30 
GeneralError Handling in Functions Pin
Paul Watson28-Jul-02 22:37
sitebuilderPaul Watson28-Jul-02 22:37 
GeneralRe: Error Handling in Functions Pin
Nish Nishant28-Jul-02 23:54
sitebuilderNish Nishant28-Jul-02 23:54 
One of the arguments to the function can be passed by reference, probably an integer. Now when an error occurs assign the proper error code to this integer and return NULL.

Now in your callee code you can do this :-

if(SomeMethod(........,nErrCode))
{
    //success
}
else
{
    cout << "error code " << nErrCode;
}


Nish


Author of the romantic comedy

Summer Love and Some more Cricket [New Win]

Review by Shog9
Click here for review[NW]

GeneralRe: Error Handling in Functions Pin
Paul Watson29-Jul-02 1:21
sitebuilderPaul Watson29-Jul-02 1:21 
GeneralRe: Error Handling in Functions Pin
Tomasz Sowinski29-Jul-02 1:03
Tomasz Sowinski29-Jul-02 1:03 
GeneralRe: Error Handling in Functions Pin
Paul Watson29-Jul-02 1:11
sitebuilderPaul Watson29-Jul-02 1:11 
GeneralRe: Error Handling in Functions Pin
Mike Nordell29-Jul-02 1:45
Mike Nordell29-Jul-02 1:45 
GeneralRe: Error Handling in Functions Pin
Paul Watson29-Jul-02 1:49
sitebuilderPaul Watson29-Jul-02 1:49 
GeneralRe: Error Handling in Functions Pin
Alexandru Savescu29-Jul-02 3:47
Alexandru Savescu29-Jul-02 3:47 
GeneralRe: Error Handling in Functions Pin
Paul Watson29-Jul-02 3:55
sitebuilderPaul Watson29-Jul-02 3:55 
GeneralRe: Error Handling in Functions Pin
Alexandru Savescu29-Jul-02 4:22
Alexandru Savescu29-Jul-02 4:22 
GeneralRe: Error Handling in Functions Pin
Paul Watson29-Jul-02 7:19
sitebuilderPaul Watson29-Jul-02 7:19 
GeneralRe: Error Handling in Functions Pin
Tomasz Sowinski29-Jul-02 4:56
Tomasz Sowinski29-Jul-02 4:56 
GeneralFlicker free drawing woes!!! Pin
alex.barylski28-Jul-02 21:52
alex.barylski28-Jul-02 21:52 
GeneralRe: Flicker free drawing woes!!! Pin
Tomasz Sowinski29-Jul-02 0:40
Tomasz Sowinski29-Jul-02 0:40 
GeneralRe: Flicker free drawing woes!!! Pin
alex.barylski29-Jul-02 2:09
alex.barylski29-Jul-02 2:09 
GeneralRe: Flicker free drawing woes!!! Pin
Tomasz Sowinski29-Jul-02 2:14
Tomasz Sowinski29-Jul-02 2:14 
GeneralRe: Flicker free drawing woes!!! Pin
alex.barylski29-Jul-02 2:16
alex.barylski29-Jul-02 2:16 
GeneralRe: Flicker free drawing woes!!! Pin
Tomasz Sowinski29-Jul-02 2:23
Tomasz Sowinski29-Jul-02 2:23 
GeneralRe: Flicker free drawing woes!!! Pin
Roger Allen29-Jul-02 1:22
Roger Allen29-Jul-02 1:22 

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.