GetLast Error and Watch window
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hey there guys... Just found out that if you want to get the last error of api calls then just type: @err,hr into the watch window... A very useful tip i thought and saves you programaticaly calling the the GetLastError api function! AdrianCooper me; while(CKitchen::beerInFridge()) { me.watchTV(); me.consumeBeer(myKitchen.getBeerCan()); }