Click here to Skip to main content
16,005,080 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [VC8 MFC] How is it possible to set the font color for an Edit Control and Static Text ? Pin
Mark Salsbery24-Aug-07 8:31
Mark Salsbery24-Aug-07 8:31 
GeneralRe: [VC8 MFC] How is it possible to set the font color for an Edit Control and Static Text ? Pin
abiemann24-Aug-07 11:13
abiemann24-Aug-07 11:13 
GeneralRe: [VC8 MFC] How is it possible to set the font color for an Edit Control and Static Text ? Pin
Mark Salsbery24-Aug-07 11:22
Mark Salsbery24-Aug-07 11:22 
GeneralRe: [VC8 MFC] How is it possible to set the font color for an Edit Control and Static Text ? Pin
Mark Salsbery24-Aug-07 11:30
Mark Salsbery24-Aug-07 11:30 
AnswerRe: [VC8 MFC] How is it possible to set the font color for an Edit Control and Static Text ? Pin
Jim Crafton24-Aug-07 7:12
Jim Crafton24-Aug-07 7:12 
Questionstackwalk64 compilation error on 64 bit windows - Cannot convert parameter from 'int' to 'HANDLE' Pin
John Oliviers24-Aug-07 5:39
John Oliviers24-Aug-07 5:39 
AnswerRe: stackwalk64 compilation error on 64 bit windows - Cannot convert parameter from 'int' to 'HANDLE' Pin
Maxwell Chen24-Aug-07 6:10
Maxwell Chen24-Aug-07 6:10 
GeneralRe: stackwalk64 compilation error on 64 bit windows - Cannot convert parameter from 'int' to 'HANDLE' Pin
John Oliviers24-Aug-07 7:31
John Oliviers24-Aug-07 7:31 
Thanks for your reply.

I have gone through the link, there is no type to cast int to HANDLE(long *). one more thing, both function declaration and parameter are of same type HANDLE, how did the type int came into the picture.


------
typedef BOOL (__stdcall * STACKWALKPROC)
( DWORD, HANDLE, HANDLE, LPSTACKFRAME, LPVOID,
PREAD_PROCESS_MEMORY_ROUTINE,PFUNCTION_TABLE_ACCESS_ROUTINE,
PGET_MODULE_BASE_ROUTINE, PTRANSLATE_ADDRESS_ROUTINE );

--------
_StackWalk64( IMAGE_FILE_MACHINE_AMD64,
GetCurrentProcess(),
GetCurrentThread(),
&sf,
pContext,
0,
_SymFunctionTableAccess,
_SymGetModuleBase,
0 )

Here 2nd parameter GetCurrentProcess() too returns HANDLE type. Then why this error occurs cannot convert parameter 2 from 'int' to 'HANDLE'

Could you please help me ?

Thanks in advance.

Thanks in advance.
John

GeneralRe: stackwalk64 compilation error on 64 bit windows - Cannot convert parameter from 'int' to 'HANDLE' [modified] Pin
Maxwell Chen24-Aug-07 7:56
Maxwell Chen24-Aug-07 7:56 
GeneralRe: stackwalk64 compilation error on 64 bit windows - Cannot convert parameter from 'int' to 'HANDLE' Pin
John Oliviers24-Aug-07 8:34
John Oliviers24-Aug-07 8:34 
GeneralRe: stackwalk64 compilation error on 64 bit windows - Cannot convert parameter from 'int' to 'HANDLE' Pin
Maxwell Chen24-Aug-07 8:39
Maxwell Chen24-Aug-07 8:39 
GeneralRe: stackwalk64 compilation error on 64 bit windows - Cannot convert parameter from 'int' to 'HANDLE' Pin
John Oliviers24-Aug-07 8:48
John Oliviers24-Aug-07 8:48 
GeneralRe: stackwalk64 compilation error on 64 bit windows - Cannot convert parameter from 'int' to 'HANDLE' Pin
Maxwell Chen24-Aug-07 9:07
Maxwell Chen24-Aug-07 9:07 
GeneralRe: stackwalk64 compilation error on 64 bit windows - Cannot convert parameter from 'int' to 'HANDLE' Pin
John Oliviers24-Aug-07 9:16
John Oliviers24-Aug-07 9:16 
GeneralRe: stackwalk64 compilation error on 64 bit windows - Cannot convert parameter from 'int' to 'HANDLE' Pin
Maxwell Chen24-Aug-07 9:51
Maxwell Chen24-Aug-07 9:51 
QuestionRe: stackwalk64 compilation error on 64 bit windows - Cannot convert parameter from 'int' to 'HANDLE' Pin
John Oliviers29-Aug-07 9:26
John Oliviers29-Aug-07 9:26 
GeneralRe: stackwalk64 compilation error on 64 bit windows - Cannot convert parameter from 'int' to 'HANDLE' Pin
Maxwell Chen29-Aug-07 18:36
Maxwell Chen29-Aug-07 18:36 
QuestionHow to pass data to child process using anonymous pipes Pin
Visweswara Koduri24-Aug-07 5:05
Visweswara Koduri24-Aug-07 5:05 
QuestionFolder Security in VS Setup Project Pin
Federico Milano24-Aug-07 4:28
Federico Milano24-Aug-07 4:28 
QuestioneVC4 and VC++6 Pin
elegantcharm24-Aug-07 3:56
elegantcharm24-Aug-07 3:56 
AnswerRe: eVC4 and VC++6 Pin
Matthew Faithfull24-Aug-07 4:53
Matthew Faithfull24-Aug-07 4:53 
AnswerRe: eVC4 and VC++6 Pin
elegantcharm24-Aug-07 9:25
elegantcharm24-Aug-07 9:25 
AnswerRe: eVC4 and VC++6 Pin
ghle24-Aug-07 15:18
ghle24-Aug-07 15:18 
QuestionImages in ListCtrl disappear after selecting Pin
Atul2324-Aug-07 2:48
Atul2324-Aug-07 2:48 
QuestionRe: Images in ListCtrl disappear after selecting Pin
Hamid_RT24-Aug-07 3:06
Hamid_RT24-Aug-07 3:06 

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.