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

C / C++ / MFC

 
GeneralRe: Security Warning and Finally it crashed Pin
Sarath C2-Aug-06 3:49
Sarath C2-Aug-06 3:49 
QuestionHow to change a font of static text Pin
jadhav1231-Aug-06 20:17
jadhav1231-Aug-06 20:17 
AnswerRe: How to change a font of static text Pin
Naveen1-Aug-06 20:21
Naveen1-Aug-06 20:21 
AnswerRe: How to change a font of static text Pin
Sarath C1-Aug-06 20:22
Sarath C1-Aug-06 20:22 
AnswerRe: How to change a font of static text Pin
Hamid_RT1-Aug-06 21:04
Hamid_RT1-Aug-06 21:04 
AnswerRe: How to change a font of static text Pin
Vipin Aravind1-Aug-06 22:08
Vipin Aravind1-Aug-06 22:08 
AnswerRe: How to change a font of static text Pin
David Crow2-Aug-06 3:58
David Crow2-Aug-06 3:58 
QuestionCompilation error due to casting Pin
tom groezer1-Aug-06 20:05
tom groezer1-Aug-06 20:05 
I'm getting the following error
error C2664: 'PtrToInt' : cannot convert parameter 1 from 'size_t' to 'const void *'
at the line
sDirectory.assign(pszPath, PtrToInt((pCurrent-pszPath)/sizeof(TCHAR)));

The definition PtrToInt is present in the file basetsd.h as
#define PtrToInt( p ) ((INT)(INT_PTR) (p) )
where pCurrent and pszPath are both of type LPCTSTR. Any reason why is it so.



AnswerRe: Compilation error due to casting Pin
Sarath C1-Aug-06 20:20
Sarath C1-Aug-06 20:20 
AnswerRe: Compilation error due to casting Pin
Christian Graus1-Aug-06 20:28
protectorChristian Graus1-Aug-06 20:28 
AnswerRe: Compilation error due to casting Pin
Michael Dunn1-Aug-06 20:37
sitebuilderMichael Dunn1-Aug-06 20:37 
GeneralRe: Compilation error due to casting Pin
tom groezer1-Aug-06 21:00
tom groezer1-Aug-06 21:00 
Questionproblem with validations Pin
Ramu.e1-Aug-06 19:55
Ramu.e1-Aug-06 19:55 
AnswerRe: problem with validations Pin
Sarath C1-Aug-06 20:02
Sarath C1-Aug-06 20:02 
GeneralRe: problem with validations [modified] Pin
Ramu.e1-Aug-06 20:14
Ramu.e1-Aug-06 20:14 
AnswerRe: problem with validations Pin
Naveen1-Aug-06 20:20
Naveen1-Aug-06 20:20 
AnswerRe: problem with validations Pin
David Crow2-Aug-06 4:03
David Crow2-Aug-06 4:03 
QuestionLogonUser() Function Issues Pin
Programm3r1-Aug-06 19:35
Programm3r1-Aug-06 19:35 
AnswerRe: LogonUser() Function Issues Pin
Sarath C1-Aug-06 19:53
Sarath C1-Aug-06 19:53 
AnswerRe: LogonUser() Function Issues Pin
Naveen1-Aug-06 19:56
Naveen1-Aug-06 19:56 
AnswerRe: LogonUser() Function Issues Pin
Programm3r1-Aug-06 20:03
Programm3r1-Aug-06 20:03 
QuestionDLL Issue Pin
0xFEDE1-Aug-06 19:21
0xFEDE1-Aug-06 19:21 
AnswerRe: DLL Issue Pin
Programm3r1-Aug-06 19:29
Programm3r1-Aug-06 19:29 
JokeRe: DLL Issue Pin
Programm3r1-Aug-06 19:49
Programm3r1-Aug-06 19:49 
AnswerRe: DLL Issue Pin
Sarath C1-Aug-06 19:31
Sarath C1-Aug-06 19:31 

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.