Click here to Skip to main content
16,007,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Drawing Tools Pin
Flatline1-Mar-02 9:37
Flatline1-Mar-02 9:37 
GeneralATL based spash screen Pin
koteswara22-Feb-02 9:45
koteswara22-Feb-02 9:45 
GeneralRe: ATL based spash screen Pin
Paul M Watt22-Feb-02 18:15
mentorPaul M Watt22-Feb-02 18:15 
QuestionHow do u use AfxGetMainWnd & GetDC Pin
John Cruz22-Feb-02 9:42
John Cruz22-Feb-02 9:42 
AnswerRe: How do u use AfxGetMainWnd & GetDC Pin
Tim Smith22-Feb-02 9:46
Tim Smith22-Feb-02 9:46 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
John Cruz22-Feb-02 10:02
John Cruz22-Feb-02 10:02 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
John Cruz22-Feb-02 10:07
John Cruz22-Feb-02 10:07 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
Nish Nishant22-Feb-02 10:04
sitebuilderNish Nishant22-Feb-02 10:04 
John Cruz wrote:
and when i move throught AfxMainWnd() it was fine, but when i moved down to the GetDC() it gave me an error saying:
"Unhandled exception in Tictactoe.exe: 0xC0000005: Access Violation...


I believe the call to AfxGetMainWnd is failing.

Nish

My most recent CP article :-

A newbie's elementary guide to spawning processes

www.busterboy.org
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
John Cruz22-Feb-02 18:20
John Cruz22-Feb-02 18:20 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
Nish Nishant22-Feb-02 20:00
sitebuilderNish Nishant22-Feb-02 20:00 
Generalwinsock packet delimiter separation Pin
Kuniva22-Feb-02 7:59
Kuniva22-Feb-02 7:59 
GeneralRe: winsock packet delimiter separation Pin
Tim Smith22-Feb-02 8:18
Tim Smith22-Feb-02 8:18 
Generalopening a dialog box Pin
Rajveer22-Feb-02 7:37
Rajveer22-Feb-02 7:37 
GeneralRe: opening a dialog box Pin
Sonu Kapoor22-Feb-02 7:51
Sonu Kapoor22-Feb-02 7:51 
GeneralRe: opening a dialog box Pin
Paul M Watt22-Feb-02 8:00
mentorPaul M Watt22-Feb-02 8:00 
GeneralRe: opening a dialog box Pin
Tili2-Dec-02 22:03
Tili2-Dec-02 22:03 
GeneralRe: opening a dialog box Pin
Jon Hulatt22-Feb-02 8:06
Jon Hulatt22-Feb-02 8:06 
GeneralRe: opening a dialog box Pin
mr200322-Feb-02 11:48
mr200322-Feb-02 11:48 
GeneralThread Problems Pin
Jon Hulatt22-Feb-02 7:37
Jon Hulatt22-Feb-02 7:37 
GeneralRe: Thread Problems Pin
Paul M Watt23-Feb-02 16:10
mentorPaul M Watt23-Feb-02 16:10 
GeneralRe: Thread Problems Pin
Jon Hulatt24-Feb-02 21:56
Jon Hulatt24-Feb-02 21:56 
GeneralLoading bitmaps Pin
22-Feb-02 6:49
suss22-Feb-02 6:49 
GeneralRe: Loading bitmaps Pin
Not Active22-Feb-02 7:11
mentorNot Active22-Feb-02 7:11 
GeneralRe: Loading bitmaps Pin
Paul M Watt22-Feb-02 7:15
mentorPaul M Watt22-Feb-02 7:15 
GeneralBroadcasting the command Pin
yellowine22-Feb-02 6:23
yellowine22-Feb-02 6:23 

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.