Click here to Skip to main content
15,890,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: allocating object in global storage Pin
ThatsAlok9-May-12 21:17
ThatsAlok9-May-12 21:17 
AnswerRe: allocating object in global storage Pin
Erudite_Eric9-May-12 21:27
Erudite_Eric9-May-12 21:27 
GeneralRe: allocating object in global storage Pin
ForNow10-May-12 2:50
ForNow10-May-12 2:50 
AnswerRe: allocating object in global storage Pin
Chuck O'Toole10-May-12 3:32
Chuck O'Toole10-May-12 3:32 
GeneralRe: allocating object in global storage Pin
Erudite_Eric13-May-12 21:02
Erudite_Eric13-May-12 21:02 
QuestionDigital Library system, Help needed Pin
ShayanTanwir7-May-12 13:32
ShayanTanwir7-May-12 13:32 
AnswerRe: Digital Library system, Help needed Pin
Chris Losinger7-May-12 13:35
professionalChris Losinger7-May-12 13:35 
Questiontry and catch, not sure how to handle catch Pin
jkirkerx7-May-12 10:34
professionaljkirkerx7-May-12 10:34 
This is my first time using try and catch in c++. I know how to use it in vb, but not sure in c++. I would like to capture the error message or code, and do something, but I'm not what to put there, and the format required so it works.

I did google this, but all I could find was char str.


C#
try {
     // test and see if we can write to the AppHostWritableAdminManager
     hr = CoCreateInstance( __uuidof(AppHostWritableAdminManager), NULL,
     CLSCTX_INPROC_SERVER, __uuidof(IAppHostWritableAdminManager), (void**) &pMgr);
    }
    catch ( char str ) {
        goto CLEANUP;
    }

AnswerRe: try and catch, not sure how to handle catch Pin
Chuck O'Toole7-May-12 10:45
Chuck O'Toole7-May-12 10:45 
GeneralRe: try and catch, not sure how to handle catch Pin
jkirkerx7-May-12 10:50
professionaljkirkerx7-May-12 10:50 
AnswerRe: try and catch, not sure how to handle catch Pin
Chuck O'Toole7-May-12 12:13
Chuck O'Toole7-May-12 12:13 
GeneralRe: try and catch, not sure how to handle catch Pin
jkirkerx7-May-12 12:58
professionaljkirkerx7-May-12 12:58 
AnswerRe: try and catch, not sure how to handle catch Pin
Aescleal8-May-12 3:55
Aescleal8-May-12 3:55 
GeneralRe: try and catch, not sure how to handle catch Pin
jkirkerx8-May-12 6:55
professionaljkirkerx8-May-12 6:55 
QuestionCan not Find Functions In Static Library Pin
AmbiguousName7-May-12 1:37
AmbiguousName7-May-12 1:37 
AnswerRe: Can not Find Functions In Static Library Pin
Chris Meech7-May-12 4:10
Chris Meech7-May-12 4:10 
AnswerRe: Can not Find Functions In Static Library Pin
Albert Holguin7-May-12 7:33
professionalAlbert Holguin7-May-12 7:33 
GeneralRe: Can not Find Functions In Static Library Pin
AmbiguousName7-May-12 7:42
AmbiguousName7-May-12 7:42 
AnswerRe: Can not Find Functions In Static Library Pin
Chuck O'Toole7-May-12 8:09
Chuck O'Toole7-May-12 8:09 
AnswerRe: Can not Find Functions In Static Library Pin
AmbiguousName7-May-12 18:47
AmbiguousName7-May-12 18:47 
AnswerRe: Can not Find Functions In Static Library Pin
Chuck O'Toole7-May-12 19:41
Chuck O'Toole7-May-12 19:41 
GeneralRe: Can not Find Functions In Static Library Pin
AmbiguousName7-May-12 20:10
AmbiguousName7-May-12 20:10 
AnswerRe: Can not Find Functions In Static Library Pin
Chuck O'Toole8-May-12 3:46
Chuck O'Toole8-May-12 3:46 
AnswerRe: Can not Find Functions In Static Library Pin
AmbiguousName8-May-12 9:06
AmbiguousName8-May-12 9:06 
QuestionCRichEditCtrl interface question Pin
ForNow6-May-12 6:32
ForNow6-May-12 6:32 

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.