I've got this pointer that I have defined and initialized in a function (OnInitDialog()) that connects to our phone server. I want to access this pointer again when they click on the disconnect button so I can disconnect it. I could do this through global variables...that's what my previous version did...but what I'm wanting to do is use "references" throughout the whole program to access this pointer. How could I access this variable that is local to the OnInitDialog() function in my disconnect function? I understand the concepts, just not quite how to do it. Could I use extern or something like that? I'm horrible at research and can't seem to find anything that I need eventhough I KNOW that there is stuff out there that explains this. Thanks for any info and your help!
Niky Williams
NTS Marketing
Niky Williams
NTS Marketing