Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using pointers with an array Pin
Bob Stanneveld15-Sep-04 10:20
Bob Stanneveld15-Sep-04 10:20 
GeneralRe: Using pointers with an array Pin
Tom Wright15-Sep-04 12:25
Tom Wright15-Sep-04 12:25 
GeneralRe: Using pointers with an array Pin
Antony M Kancidrowski16-Sep-04 2:22
Antony M Kancidrowski16-Sep-04 2:22 
GeneralRe: Using pointers with an array Pin
Bob Stanneveld16-Sep-04 4:33
Bob Stanneveld16-Sep-04 4:33 
GeneralRe: Using pointers with an array Pin
SandeepN15-Sep-04 15:14
SandeepN15-Sep-04 15:14 
GeneralRe: Using pointers with an array Pin
Muhammad Azam15-Sep-04 23:41
Muhammad Azam15-Sep-04 23:41 
GeneralCreating a Bitmap On The Fly Pin
#realJSOP15-Sep-04 6:44
professional#realJSOP15-Sep-04 6:44 
GeneralRe: Creating a Bitmap On The Fly Pin
Michael Dunn15-Sep-04 9:24
sitebuilderMichael Dunn15-Sep-04 9:24 
From just a quick reading (I didn't run it either Wink | ;) ) it looks almost right. The only thing that looks wrong is
pDC.CreateCompatibleDC((CDC*)::GetDC(NULL));
You're casting a HDC to a CDC*, which is a bad cast since those two aren't the same thing. Use CDC::FromHandle() instead.



--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
Pinky, are you pondering what I'm pondering?
I think so Brain, but how will we fit the hamster inside the accordion?

GeneralTransparent Check Box in Dialog Pin
LukeV15-Sep-04 6:36
LukeV15-Sep-04 6:36 
GeneralHyperLink without mfc Pin
Paolo Ponzano15-Sep-04 6:06
Paolo Ponzano15-Sep-04 6:06 
GeneralRe: HyperLink without mfc Pin
Michael Dunn15-Sep-04 9:26
sitebuilderMichael Dunn15-Sep-04 9:26 
GeneralRe: HyperLink without mfc Pin
Paolo Ponzano15-Sep-04 20:51
Paolo Ponzano15-Sep-04 20:51 
GeneralRe: HyperLink without mfc Pin
Michael Dunn16-Sep-04 9:41
sitebuilderMichael Dunn16-Sep-04 9:41 
QuestionGetAdaptersAddresses IPv6 Where the problem is ?? Pin
Alpha Siera15-Sep-04 5:30
Alpha Siera15-Sep-04 5:30 
AnswerRe: GetAdaptersAddresses IPv6 Where the problem is ?? Pin
David Crow15-Sep-04 5:43
David Crow15-Sep-04 5:43 
GeneralRe: GetAdaptersAddresses IPv6 Where the problem is ?? Pin
Alpha Siera15-Sep-04 18:55
Alpha Siera15-Sep-04 18:55 
GeneralRe: GetAdaptersAddresses IPv6 Where the problem is ?? Pin
David Crow16-Sep-04 2:56
David Crow16-Sep-04 2:56 
GeneralRe: LinkedList Template - LNK2019 Pin
David Crow15-Sep-04 5:17
David Crow15-Sep-04 5:17 
GeneralRe: LinkedList Template - LNK2019 Pin
Milby00715-Sep-04 5:42
Milby00715-Sep-04 5:42 
GeneralGetDlgItem() in CFormView Pin
BlackDice15-Sep-04 5:07
BlackDice15-Sep-04 5:07 
GeneralRe: GetDlgItem() in CFormView Pin
RChin15-Sep-04 5:25
RChin15-Sep-04 5:25 
GeneralMFC ActiveX download progress Pin
AssemblySoft15-Sep-04 5:06
AssemblySoft15-Sep-04 5:06 
GeneralA dll that contains an executable. Pin
AssemblySoft15-Sep-04 5:02
AssemblySoft15-Sep-04 5:02 
GeneralRe: A dll that contains an executable. Pin
David Crow15-Sep-04 5:15
David Crow15-Sep-04 5:15 
GeneralRe: A dll that contains an executable. Pin
AssemblySoft15-Sep-04 5:42
AssemblySoft15-Sep-04 5:42 

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.