Click here to Skip to main content
15,893,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DAO Pin
BlackDice27-Jan-05 9:47
BlackDice27-Jan-05 9:47 
GeneralRe: DAO Pin
Deian27-Jan-05 9:58
Deian27-Jan-05 9:58 
GeneralRe: DAO Pin
BlackDice27-Jan-05 10:19
BlackDice27-Jan-05 10:19 
GeneralCDialog Update Pin
poiut27-Jan-05 8:24
poiut27-Jan-05 8:24 
GeneralRe: CDialog Update Pin
Neville Franks27-Jan-05 9:35
Neville Franks27-Jan-05 9:35 
GeneralRe: CDialog Update Pin
Anonymous27-Jan-05 10:13
Anonymous27-Jan-05 10:13 
GeneralRe: CDialog Update Pin
Neville Franks27-Jan-05 10:30
Neville Franks27-Jan-05 10:30 
GeneralRe: CDialog Update Pin
David Crow27-Jan-05 9:37
David Crow27-Jan-05 9:37 
GeneralRe: CDialog Update Pin
Anonymous27-Jan-05 10:21
Anonymous27-Jan-05 10:21 
GeneralGetSystemTime(LPSYSTEMTIME st) Pin
Jnewg527-Jan-05 6:31
Jnewg527-Jan-05 6:31 
GeneralRe: GetSystemTime(LPSYSTEMTIME st) Pin
Neville Franks27-Jan-05 9:46
Neville Franks27-Jan-05 9:46 
GeneralRe: GetSystemTime(LPSYSTEMTIME st) Pin
rwestgraham29-Jan-05 23:14
rwestgraham29-Jan-05 23:14 
GeneralNetAPI32 Pin
Richard Hudson27-Jan-05 6:04
Richard Hudson27-Jan-05 6:04 
GeneralRe: NetAPI32 Pin
David Crow27-Jan-05 10:49
David Crow27-Jan-05 10:49 
QuestionCan someone explain this please Pin
Tom Wright27-Jan-05 5:22
Tom Wright27-Jan-05 5:22 
AnswerRe: Can someone explain this please Pin
David Crow27-Jan-05 5:25
David Crow27-Jan-05 5:25 
GeneralRe: Can someone explain this please Pin
Tom Wright27-Jan-05 5:34
Tom Wright27-Jan-05 5:34 
GeneralRe: Can someone explain this please Pin
Chris Losinger27-Jan-05 5:38
professionalChris Losinger27-Jan-05 5:38 
GeneralRe: Can someone explain this please Pin
Tom Wright27-Jan-05 5:44
Tom Wright27-Jan-05 5:44 
GeneralRe: Can someone explain this please Pin
Chris Losinger27-Jan-05 5:51
professionalChris Losinger27-Jan-05 5:51 
GeneralRe: Can someone explain this please Pin
Tom Wright27-Jan-05 10:48
Tom Wright27-Jan-05 10:48 
GeneralRe: Can someone explain this please Pin
Chris Losinger27-Jan-05 10:55
professionalChris Losinger27-Jan-05 10:55 
GeneralRe: Can someone explain this please Pin
Tom Wright27-Jan-05 11:09
Tom Wright27-Jan-05 11:09 
I'm trying to setup a Timer in my UI thread. While doing this I found that the easiest way was to do the SetTimer with the forth parameter being the callback function.

Problem is that I've never really worked with callback function and while working with this particular one I found that i did not have access to m_pconnection pointer and the thdID pointer.

I remembered that someone had helped me with another program that did a casting of a pointer like the one listed at the beginning of the post, but i wasn't sure if this is what I needed to do here and since i didn't really understand what was happening with that line of code I decided to post.

So comming full circle I'm still trying to understand when one needs to cast a pointer and when one needs to pass a pointer.


Heck I just found out how to initialize a char array on the fly (so to speak) using the new operator. I've always seen it used but never understood why until it was explained to me.

Thanks


Tom Wright
tawright915@yahoo.com
GeneralRe: Can someone explain this please Pin
Chris Losinger27-Jan-05 12:07
professionalChris Losinger27-Jan-05 12:07 
GeneralRe: Can someone explain this please Pin
David Crow27-Jan-05 5:42
David Crow27-Jan-05 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.